sync: Don't fail if the directory it is run in gets removed by the sync.
This commit is contained in:
parent
928016c670
commit
2407170eaf
4 changed files with 11 additions and 1 deletions
|
@ -11,7 +11,7 @@ import Common.Annex
|
|||
import Command
|
||||
import qualified Annex.Branch
|
||||
import qualified Git.Branch
|
||||
import Command.Sync (mergeLocal)
|
||||
import Command.Sync (prepMerge, mergeLocal)
|
||||
|
||||
def :: [Command]
|
||||
def = [command "merge" paramNothing seek SectionMaintenance
|
||||
|
@ -35,4 +35,5 @@ mergeBranch = do
|
|||
mergeSynced :: CommandStart
|
||||
mergeSynced = do
|
||||
branch <- inRepo Git.Branch.current
|
||||
prepMerge
|
||||
maybe stop mergeLocal branch
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue