Really fix bug that caused the assistant to make many unncessary empty merge commits.
This commit is contained in:
parent
d76b5a674f
commit
6fe35aab87
3 changed files with 6 additions and 2 deletions
|
@ -78,8 +78,7 @@ onChange file
|
||||||
changedbranch = fileToBranch file
|
changedbranch = fileToBranch file
|
||||||
|
|
||||||
mergecurrent (Just current)
|
mergecurrent (Just current)
|
||||||
| equivBranches changedbranch current = do
|
| equivBranches changedbranch current =
|
||||||
void $ liftAnnex $ autoMergeFrom changedbranch (Just current) Git.Branch.AutomaticCommit
|
|
||||||
whenM (liftAnnex $ inRepo $ Git.Branch.changed current changedbranch) $ do
|
whenM (liftAnnex $ inRepo $ Git.Branch.changed current changedbranch) $ do
|
||||||
debug
|
debug
|
||||||
[ "merging", Git.fromRef changedbranch
|
[ "merging", Git.fromRef changedbranch
|
||||||
|
|
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -7,6 +7,8 @@ git-annex (5.20140708) UNRELEASED; urgency=medium
|
||||||
repository to be removed. It should be able to recover repositories
|
repository to be removed. It should be able to recover repositories
|
||||||
experiencing this bug without data loss. See:
|
experiencing this bug without data loss. See:
|
||||||
http://git-annex.branchable.com/bugs/bad_merge_commit_deleting_all_files/
|
http://git-annex.branchable.com/bugs/bad_merge_commit_deleting_all_files/
|
||||||
|
* Really fix bug that caused the assistant to make many unncessary
|
||||||
|
empty merge commits.
|
||||||
|
|
||||||
-- Joey Hess <joeyh@debian.org> Tue, 08 Jul 2014 12:44:42 -0400
|
-- Joey Hess <joeyh@debian.org> Tue, 08 Jul 2014 12:44:42 -0400
|
||||||
|
|
||||||
|
|
|
@ -14,3 +14,6 @@ Using the standalone build, 64bit, on ArchLinux, Fedora 20 and Ubuntu 14.04.
|
||||||
local repository version: 5
|
local repository version: 5
|
||||||
supported repository version: 5
|
supported repository version: 5
|
||||||
upgrade supported from repository versions: 0 1 2 4
|
upgrade supported from repository versions: 0 1 2 4
|
||||||
|
|
||||||
|
> [[fixed|done]]. Note that 5.20140708 contained an incomplete fix for this
|
||||||
|
> bug. --[[Joey]]
|
||||||
|
|
Loading…
Reference in a new issue