summaryrefslogtreecommitdiff
path: root/compat/mingw.h
diff options
context:
space:
mode:
authorLibravatar John Keeping <john@keeping.me.uk>2013-06-23 15:58:21 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-06-23 14:22:28 -0700
commite0eb6b9720db743993d9374e366cb6b7664f0a6d (patch)
treeb36a886fcfd79457d61202e5f4f86d92634ca667 /compat/mingw.h
parentfast-import: set valid mode on root tree in "ls" (diff)
downloadtgif-e0eb6b9720db743993d9374e366cb6b7664f0a6d.tar.xz
fast-import: allow ls or filecopy of the root tree
Commit 178e1de (fast-import: don't allow 'ls' of path with empty components, 2012-03-09) restricted paths which: . contain an empty directory component (e.g. foo//bar is invalid), . end with a directory separator (e.g. foo/ is invalid), . start with a directory separator (e.g. /foo is invalid). However, the implementation also caught the empty path, which should represent the root tree. Relax this restriction so that the empty path is explicitly allowed and refers to the root tree. Reported-by: Dave Abrahams <dave@boostpro.com> Signed-off-by: John Keeping <john@keeping.me.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/mingw.h')
0 files changed, 0 insertions, 0 deletions