summaryrefslogtreecommitdiff
path: root/t/t3100-ls-tree-restrict.sh
diff options
context:
space:
mode:
authorLibravatar Josef Weidendorfer <Josef.Weidendorfer@gmx.de>2005-11-01 23:46:27 +0100
committerLibravatar Junio C Hamano <junkio@cox.net>2005-11-01 14:45:49 -0800
commitf676fa76e26faed3ac02a9dae8f9f7addb9542a4 (patch)
treeb71d7b211ffed2a39de29d772be1d40dde2951a9 /t/t3100-ls-tree-restrict.sh
parentgit-am.txt is no stub anymore (diff)
downloadtgif-f676fa76e26faed3ac02a9dae8f9f7addb9542a4.tar.xz
Strip any trailing slash on destination argument
Needed because generating a target paths will add another slash. This fixes e.g. "git-mv file dir/", which removed "file" from version control by renaming it to "dir//file", as git-update-index does not accept such paths. Thanks goes to Ben Lau for noting this bug. Signed-off-by: Josef Weidendorfer <Josef.Weidendorfer@gmx.de> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 't/t3100-ls-tree-restrict.sh')
0 files changed, 0 insertions, 0 deletions