summaryrefslogtreecommitdiff
path: root/Command/Fsck.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-01-05 17:06:24 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-01-05 17:06:24 -0400
commita5031031f0d596b2381a785925beb574d90a862e (patch)
treeeabdc9295a4b08313421f8eebd2ccce5c16c0e92 /Command/Fsck.hs
parent24d0821f6215fd1e93d97c597f727ab51329f727 (diff)
work around a very strange git-cat-file behavior
Sometimes it seems that git-cat-file --batch stops getting info for files in the current repo, when ":file" is fed to it. I have not reproduced this at the command line, but only when using git annex whereis and git annex move inside a direct mode repo. Those failed, because cat-file returned "file missing". OTOH, git annex find works fine, despite passing the same file to cat-file. It seems that the failing commands first asked cat-file to show a file on the git-annex branch. Perhaps it got "stuck" on that branch? But I cannot repoduce it running cat-file by hand. Most strange. HEAD is a workaround for this extreme weirdness, since I spent a good 2 hours struggling with it already.
Diffstat (limited to 'Command/Fsck.hs')
0 files changed, 0 insertions, 0 deletions