A tiny bit of refactoring
This commit is contained in:
parent
9a09235a07
commit
96de3a7863
1 changed files with 3 additions and 4 deletions
7
magit.el
7
magit.el
|
@ -2003,10 +2003,9 @@ in log buffer."
|
|||
(not (null (magit-get-svn-branch-name))))
|
||||
|
||||
(defun magit-get-svn-branch-name ()
|
||||
(or (find "git-svn" (magit-list-interesting-revisions)
|
||||
:test 'equal)
|
||||
(find "trunk" (magit-list-interesting-revisions)
|
||||
:test 'equal)))
|
||||
(let ((interesting-revisions (magit-list-interesting-revisions)))
|
||||
(or (find "git-svn" interesting-revisions :test 'equal)
|
||||
(find "trunk" interesting-revisions :test 'equal))))
|
||||
|
||||
;;; Resetting
|
||||
|
||||
|
|
Loading…
Reference in a new issue