summaryrefslogtreecommitdiff
path: root/commit-graph.c
diff options
context:
space:
mode:
authorLibravatar Ævar Arnfjörð Bjarmason <avarab@gmail.com>2021-12-28 14:28:42 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-12-30 13:05:28 -0800
commit68c69f90c8e98b305d9effd1d25f6261a30b8e50 (patch)
treea6c5602fc47182416a1a53704974fe5f41d06b33 /commit-graph.c
parentcat-file tests: test bad usage (diff)
downloadtgif-68c69f90c8e98b305d9effd1d25f6261a30b8e50.tar.xz
cat-file tests: test messaging on bad objects/paths
Add tests for the output that's emitted when we disambiguate <obj>:<path> in cat-file. This gives us a baseline for improving these messages. For e.g. "git blame" we'll emit: $ git blame HEAD:foo fatal: no such path 'HEAD:foo' in HEAD But cat-file doesn't disambiguate these two cases, and just gives the rather unhelpful: $ git cat-file --textconv HEAD:foo fatal: Not a valid object name HEAD:foo Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions