[PATCH] tests: Remove some direct access to .git/logs

2015-07-27 Thread David Turner
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

Re: [PATCH] tests: Remove some direct access to .git/logs

2015-07-27 Thread Junio C Hamano
David Turner dtur...@twopensource.com writes: -: a repository with working tree always has reflog these days... -: .git/logs/refs/heads/master +rm -f .git/logs/refs/heads/master This looks quite different from how other tests are updated (which looked a lot more sensible). The original has

Re: [PATCH] tests: Remove some direct access to .git/logs

2015-07-27 Thread David Turner
On Mon, 2015-07-27 at 14:47 -0700, Junio C Hamano wrote: David Turner dtur...@twopensource.com writes: -: a repository with working tree always has reflog these days... -: .git/logs/refs/heads/master +rm -f .git/logs/refs/heads/master This looks quite different from how other tests are