]> Sergey Matveev's repositories - public-inbox.git/commit
gcf2: support worktree $GIT_DIR
authorEric Wong <e@80x24.org>
Mon, 26 Sep 2022 10:17:13 +0000 (10:17 +0000)
committerEric Wong <e@80x24.org>
Mon, 26 Sep 2022 19:22:03 +0000 (19:22 +0000)
commit1c0ec857d041dc287919917676bb6678301085d6
tree0b33672779ba67a53be9496ca2351c7da3971b53
parent06600f6ea9258425f4f7ff7a7b1f3d028d11b638
gcf2: support worktree $GIT_DIR

We must use `git rev-parse --git-path objects' instead of
blindly appending '/objects' to $GIT_DIR, since appending
doesn't work when $GIT_DIR is a worktree.
lib/PublicInbox/Gcf2.pm