summaryrefslogtreecommitdiff
path: root/check_bindir
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2011-09-15 23:10:27 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-10-05 13:45:30 -0700
commit7e9d2fe96060957d90870d2fac9b85608423e277 (patch)
treedc68fe7286d63488a9a9a0115554b7ac75a16e41 /check_bindir
parentRefactor check_refname_format() (diff)
downloadtgif-7e9d2fe96060957d90870d2fac9b85608423e277.tar.xz
Do not allow ".lock" at the end of any refname component
Allowing any refname component to end with ".lock" is looking for trouble; for example, $ git br foo.lock/bar $ git br foo fatal: Unable to create '[...]/.git/refs/heads/foo.lock': File exists. Therefore, do not allow any refname component to end with ".lock". Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'check_bindir')
0 files changed, 0 insertions, 0 deletions