diff options
author | Junio C Hamano <gitster@pobox.com> | 2023-04-21 00:33:36 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-04-21 00:33:36 +0300 |
commit | a4a4db8cf7024b31ecd4b2c59cdcac41e81c91a2 (patch) | |
tree | 708c8bd597b1bc45bcc5a68d7355c1843163a476 /t | |
parent | 98c496fcd09b5894966f3e499217eb2bdf8b964d (diff) | |
parent | 4e33535ea98ac16d2163e8e9fcbba5e015881e65 (diff) |
Merge branch 'gc/better-error-when-local-clone-fails-with-symlink'
"git clone --local" stops copying from an original repository that
has symbolic links inside its $GIT_DIR; an error message when that
happens has been updated.
* gc/better-error-when-local-clone-fails-with-symlink:
clone: error specifically with --local and symlinked objects
Diffstat (limited to 't')
-rwxr-xr-x | t/t5604-clone-reference.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t5604-clone-reference.sh b/t/t5604-clone-reference.sh index 83e3c97861..9845fc04d5 100755 --- a/t/t5604-clone-reference.sh +++ b/t/t5604-clone-reference.sh @@ -358,7 +358,7 @@ test_expect_success SYMLINKS 'clone repo with symlinked objects directory' ' test_must_fail git clone --local malicious clone 2>err && test_path_is_missing clone && - grep "failed to start iterator over" err + grep "is a symlink, refusing to clone with --local" err ' test_done |