summaryrefslogtreecommitdiff
path: root/t/t4013/diff.diff-tree_--cc_--stat_master
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2012-04-10 07:30:22 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-04-10 15:54:58 -0700
commitdac529e44fb9e8c0ee4628c0f947db8890950317 (patch)
treeadf981d10a4dd2d6f536e4d15ab8806c83ab934b /t/t4013/diff.diff-tree_--cc_--stat_master
parentfree_ref_entry(): new function (diff)
downloadtgif-dac529e44fb9e8c0ee4628c0f947db8890950317.tar.xz
check_refname_component(): return 0 for zero-length components
Return 0 (instead of -1) for zero-length components. Move the interpretation of zero-length components as illegal to check_refname_format(). This will make it easier to extend check_refname_format() to also check whether directory names are valid. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff-tree_--cc_--stat_master')
0 files changed, 0 insertions, 0 deletions