summaryrefslogtreecommitdiff
path: root/Command/Indirect.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-02-27 14:49:56 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-02-27 14:49:56 -0400
commitd65d777cd82dcf6f30ef5b1784f1461c5e8bbdcc (patch)
tree2e89faf2ad40632588b0a6879edc160029589757 /Command/Indirect.hs
parentd42492919535088c576d0f70799d282e56a1df5f (diff)
sync: As well as the synced/git-annex push, attempt a git-annex:git-annex push, as long as the remote branch is an ancestor of the local branch, to better support bare git repos.
See my comment in the bug report for analysis; basically this is safe because it's a non-forced push, so won't lose history. Even if it was a forced push or somehow races, things will eventually become consistent and no git-annex branch info will be lost. (This used to be done, but it forgot to do it since version 4.20130909.)
Diffstat (limited to 'Command/Indirect.hs')
0 files changed, 0 insertions, 0 deletions