Revert "pass --git-dir, rather than changing cwd"
authorJoey Hess <joeyh@joeyh.name>
Fri, 23 Oct 2020 19:51:38 +0000 (15:51 -0400)
committerJoey Hess <joeyh@joeyh.name>
Fri, 23 Oct 2020 20:09:50 +0000 (16:09 -0400)
commitf167851628d1fa101ad7b64beb2b02106f0d42b9
tree336d88bf9a64319e3fd014cd9f1e1b573b8be40d
parenta108b00b33556caa4342e56428fd54bb01593acb
Revert "pass --git-dir, rather than changing cwd"

This reverts commit c142696c587100b195accec4e9bfaa26cde73d48.

It turns out it was not needed; 681313dfd4e840e6366f3c39eddd92f65d764188
fixed up the git dir, so setting cwd to it works ok.

But worst, this commit broke the test suite massively. I don't understand how.
git-annex get was failing. Very weirdly, git-annex find in a fresh
clone of an annex repo, during autoinit, was displaying a side message
-- but side messages are disabled when running find.
Git/Config.hs