Remove 'HEAD' from ref list.
This commit is contained in:
parent
a4cbd5ecd3
commit
6f9993cbd4
1 changed files with 16 additions and 15 deletions
3
magit.el
3
magit.el
|
@ -1948,7 +1948,8 @@ string which will represent the log line.")
|
|||
(msg (match-string 4))
|
||||
(refs (when (match-string 3)
|
||||
(remove-if (lambda (s)
|
||||
(string= s "tag:"))
|
||||
(or (string= s "tag:")
|
||||
(string= s "HEAD"))) ; as of 1.6.6
|
||||
(split-string (match-string 3) "[(), ]" t)))))
|
||||
(delete-region (point-at-bol) (point-at-eol))
|
||||
(insert (funcall magit-present-log-line-function chart sha1 refs msg))
|
||||
|
|
Loading…
Reference in a new issue