summaryrefslogtreecommitdiff
path: root/lisp/km-magit.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2019-08-10 23:05:07 -0400
committerKyle Meyer <kyle@kyleam.com>2019-08-10 23:05:07 -0400
commit54415206825777a306ef7632f3eb480aba7691bd (patch)
tree35d89f2c7f6305bf8d7151b60d7f01af8cc63869 /lisp/km-magit.el
parentd95063a3bba48710f6682a8fb69edc18bc8e058e (diff)
downloademacs.d-54415206825777a306ef7632f3eb480aba7691bd.tar.gz
km/magit-branch-archive: Show archive in process buffer
Diffstat (limited to 'lisp/km-magit.el')
-rw-r--r--lisp/km-magit.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/km-magit.el b/lisp/km-magit.el
index 4da1a3f..fb46525 100644
--- a/lisp/km-magit.el
+++ b/lisp/km-magit.el
@@ -242,7 +242,7 @@ argument CHOOSE-SUFFIX, prompt for a suffix to use instead of
(let ((new (replace-regexp-in-string "refs/heads/"
"refs/archive/"
branch-full)))
- (if (magit-git-success "update-ref" new branch-full)
+ (if (zerop (magit-call-git "update-ref" new branch-full))
(progn
(magit--rename-reflog-file branch-full new)
(magit-run-git "branch" "-D" branch-short))