Code

tests: correct "does reflog exist?" tests
authorJunio C Hamano <gitster@pobox.com>
Wed, 21 Jul 2010 19:47:48 +0000 (12:47 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 21 Jul 2010 19:54:48 +0000 (12:54 -0700)
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>

No differences found