init/clone: remove short option -L and document --separate-git-dir
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
9963e025e8
commit
09ffc706e4
@ -409,7 +409,7 @@ test_expect_success SYMLINKS 're-init to move gitdir symlink' '
|
||||
cd newdir &&
|
||||
mv .git here &&
|
||||
ln -s here .git &&
|
||||
git init -L ../realgitdir
|
||||
git init --separate-git-dir ../realgitdir
|
||||
) &&
|
||||
echo "gitdir: `pwd`/realgitdir" >expected &&
|
||||
test_cmp expected newdir/.git &&
|
||||
|
Reference in New Issue
Block a user