]> git.ipfire.org Git - thirdparty/git.git/commit - t/t3200-branch.sh
tests: remove some direct access to .git/logs
authorDavid Turner <dturner@twopensource.com>
Mon, 27 Jul 2015 22:57:08 +0000 (18:57 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 28 Jul 2015 18:46:46 +0000 (11:46 -0700)
commitd0ab058498cf3f1862de76b419abc0b67fabbd83
tree08f04f7451dd8104b1e085238932b90fc66cf31d
parent86b601c5d89f3002e205ec34625011d256e7733f
tests: remove some direct access to .git/logs

Alternate refs backends might store reflogs somewhere other than
.git/logs.  Change most test code that directly accesses .git/logs to
instead use git reflog commands.

There are still a few tests which need direct access to reflogs: to
check reflog permissions, to manually create reflogs from scratch, to
save/restore reflogs, to check the format of raw reflog data, and to
remove not just reflog contents, but the reflogs themselves. All cases
which don't need direct access have been modified.

Signed-off-by: David Turner <dturner@twopensource.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1400-update-ref.sh
t/t1410-reflog.sh
t/t1411-reflog-show.sh
t/t1503-rev-parse-verify.sh
t/t3200-branch.sh
t/t3210-pack-refs.sh
t/t3404-rebase-interactive.sh
t/t3903-stash.sh
t/t5312-prune-corruption.sh
t/t6501-freshen-objects.sh