diff options
author | Kyle Meyer <kyle@kyleam.com> | 2019-08-10 23:05:07 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2019-08-10 23:05:07 -0400 |
commit | 54415206825777a306ef7632f3eb480aba7691bd (patch) | |
tree | 35d89f2c7f6305bf8d7151b60d7f01af8cc63869 | |
parent | d95063a3bba48710f6682a8fb69edc18bc8e058e (diff) | |
download | emacs.d-54415206825777a306ef7632f3eb480aba7691bd.tar.gz |
km/magit-branch-archive: Show archive in process buffer
-rw-r--r-- | lisp/km-magit.el | 2 |
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)) |