summaryrefslogtreecommitdiff
path: root/Documentation/git-annotate.adoc
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2025-03-31 21:53:58 +0000
committerJunio C Hamano <gitster@pobox.com>2025-04-01 19:13:42 +0900
commit95b573b753661619161dde85ce66afd533626f43 (patch)
treef0e42c8284093518da6b187cd77d998176ffaa6d /Documentation/git-annotate.adoc
parent0ffb5a6bf1b0fd9ce0c0b1fd9ce9fd30b89a2563 (diff)
t5605: fix test for cloning from a different user
This test currently passes, but for the wrong reason. The repo_is_hardlinked function expects a .git directory or a bare repository and currently fails because it cannot find the objects directory. One solution is to use the --bare argument, but then --show-toplevel won't work. We could change that, but there's no need to, so just add the missing .git directory. In addition, use the built-in negation functionality of test_grep to avoid mishandling real errors (such as a missing file) and, as a final fix, remove the extra newline. Reported-by: SZEDER Gábor <szeder.dev@gmail.com> Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-annotate.adoc')
0 files changed, 0 insertions, 0 deletions