git-remote-annex: Require git version 2.31 or newer
authorJoey Hess <joeyh@joeyh.name>
Wed, 20 Nov 2024 19:00:17 +0000 (15:00 -0400)
committerJoey Hess <joeyh@joeyh.name>
Wed, 20 Nov 2024 19:00:17 +0000 (15:00 -0400)
commit31a38f8468b1842d204af663e6dff03bbd436eff
tree538b1a3d177ae10474e86309719ac273e5ce0d02
parente6a4ab5224a073e4898db9b68ed224960d63f1a5
git-remote-annex: Require git version 2.31 or newer

Since old ones had a buggy git bundle command.

In particular, git 2.30.2 has a git bundle that supports --stdin, but does
not read from it, and so fails to create a bundle.

While not using --stdin would perhaps work, it limits the number of revs
that get included in the bundle to the command line length limit.

But the real kicker is that at the same time --stdin got fixed, a bug also
got fixed that made git bundle skip including refs when they had the same
sha as other refs it included. Which would lead to data loss. So best to
avoid that buggy thing.
CHANGELOG
CmdLine/GitRemoteAnnex.hs
Git/Bundle.hs
Test.hs