This commit is contained in:
Joey Hess 2014-11-24 00:50:48 -04:00
parent ccdbf0026d
commit 9ac4e94625
1 changed files with 1 additions and 1 deletions

View File

@ -278,7 +278,7 @@ mergeSpin = do
old_head <- getCurrentGitSha1 branch old_head <- getCurrentGitSha1 branch
old_commit <- findLastNonSpinCommit old_commit <- findLastNonSpinCommit
rungit "reset" [Param old_commit] rungit "reset" [Param old_commit]
rungit "commit" [Param "-a", "--allow-empty"] rungit "commit" [Param "-a", Param "--allow-empty"]
rungit "merge" =<< gpgSignParams [Param "-s", Param "ours", Param old_head] rungit "merge" =<< gpgSignParams [Param "-s", Param "ours", Param old_head]
current_commit <- getCurrentGitSha1 branch current_commit <- getCurrentGitSha1 branch
rungit "update-ref" [Param branchref, Param current_commit] rungit "update-ref" [Param branchref, Param current_commit]