summaryrefslogtreecommitdiffstats
path: root/ident.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-07-21 21:47:48 +0200
committerJunio C Hamano <gitster@pobox.com>2010-07-21 21:54:48 +0200
commit6e6842e36f8c6c12ae0ddd7db98cd900b25bb8dc (patch)
tree1051969ab2b08d04431f2c44fd89b8f8479c5415 /ident.c
parentt/: work around one-shot variable assignment with test_must_fail (diff)
downloadgit-6e6842e36f8c6c12ae0ddd7db98cd900b25bb8dc.tar.xz
git-6e6842e36f8c6c12ae0ddd7db98cd900b25bb8dc.zip
tests: correct "does reflog exist?" tests
These two tests weren't about how "git reflog show <branch>" exits when there is no reflog, but were about "checkout" and "branch" create or not create reflog when creating a new <branch>. Update the tests to check what we are interested in, using "git rev-parse --verify". Also lose tests based on "test -f .git/logs/refs/heads/<branch>" from nearby, to avoid exposing this particular implementation detail unnecessarily. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'ident.c')
0 files changed, 0 insertions, 0 deletions