sync: Work even when the local git repository is new and empty, with no master branch.

This commit is contained in:
Joey Hess 2013-11-02 15:29:38 -04:00
parent 43c47b6dbb
commit bc18cde325
3 changed files with 20 additions and 14 deletions

View file

@ -34,6 +34,5 @@ mergeBranch = do
mergeSynced :: CommandStart
mergeSynced = do
branch <- inRepo Git.Branch.current
prepMerge
maybe stop mergeLocal branch
mergeLocal =<< inRepo Git.Branch.current