summaryrefslogtreecommitdiff
path: root/sha1_name.c
diff options
context:
space:
mode:
authorLibravatar Ævar Arnfjörð Bjarmason <avarab@gmail.com>2017-03-23 13:05:18 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-03-23 10:02:55 -0700
commitb643827b9443deadaa5804998116107953f8b42f (patch)
tree65895323f1ac1d845753039b81259b0ee493e578 /sha1_name.c
parentref-filter: make combining --merged & --no-merged an error (diff)
downloadtgif-b643827b9443deadaa5804998116107953f8b42f.tar.xz
ref-filter: add test for --contains on a non-commit
Change the tag test suite to test for --contains on a tree & blob. It only accepts commits and will spew out "<object> is a tree, not a commit". It's sufficient to test this just for the "tag" and "branch" commands, because it covers all the machinery shared between "branch" and "for-each-ref". Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sha1_name.c')
0 files changed, 0 insertions, 0 deletions