use --allow-unrelated-histories for now

I'd prefer to use the env var, but let's use what git currently supports.
Revert this when the env var gets supported.

Note that the version checking assumes git 2.8.2 will get support for the
switch.
This commit is contained in:
Joey Hess 2016-04-22 15:56:13 -04:00
parent e4f159adb3
commit 6ec154d70c
Failed to extract signature
2 changed files with 20 additions and 17 deletions

7
debian/changelog vendored
View file

@ -19,10 +19,9 @@ git-annex (6.20160419) UNRELEASED; urgency=medium
* git 2.8.1 (or perhaps 2.9.0) is going to prevent git merge from
merging in unrelated branches. Since the webapp's pairing etc features
often combine together repositories with unrelated histories, work around
this behavior change by setting GIT_MERGE_ALLOW_UNRELATED_HISTORIES
when the assistant merges. Note though that this is not done for
git annex sync's merges, so it will follow git's default or configured
behavior.
this behavior change when the assistant merges. Note though that this is
not done for git annex sync's merges, so it will follow git's default or
configured behavior.
-- Joey Hess <id@joeyh.name> Tue, 19 Apr 2016 12:57:15 -0400