mirror of
https://github.com/pestctrl/emacs-config.git
synced 2026-02-16 08:14:15 +00:00
Don't stop merging just because one of them failed
Also, on puppet's computer, don't pop the output-buffer.
This commit is contained in:
parent
f78bbf3a74
commit
cda1d2a56d
1 changed files with 3 additions and 2 deletions
|
|
@ -89,8 +89,9 @@
|
|||
(if (get-buffer-process output-buffer)
|
||||
(user-error "Umm, there was a merge that didn't complete. Debug?")
|
||||
(when (not (zerop (shell-command (format "git merge --ff-only %s" b) output-buffer)))
|
||||
(pop-to-buffer output-buffer)
|
||||
(user-error "Uh oh, one of the merges resulted in an error!")))))
|
||||
(when (not my/puppet-p)
|
||||
(pop-to-buffer output-buffer))
|
||||
(message "Merging to branch '%s' in repo '%s' failed" b dir)))))
|
||||
(magit-push-current-to-pushremote nil)))
|
||||
|
||||
(load "userlock")
|
||||
|
|
|
|||
Loading…
Reference in a new issue