Using HEAD as branch-name when this is a detached HEAD
This commit is contained in:
parent
82b8d93731
commit
c51582ee17
1 changed files with 4 additions and 3 deletions
1
magit.el
1
magit.el
|
@ -3320,6 +3320,7 @@ Prefix arg means justify as well."
|
||||||
(magit-need-refresh))))
|
(magit-need-refresh))))
|
||||||
|
|
||||||
(defun magit-refresh-wazzup-buffer (head all)
|
(defun magit-refresh-wazzup-buffer (head all)
|
||||||
|
(unless head (setq head "HEAD"))
|
||||||
(magit-create-buffer-sections
|
(magit-create-buffer-sections
|
||||||
(magit-with-section 'wazzupbuf nil
|
(magit-with-section 'wazzupbuf nil
|
||||||
(insert (format "Wazzup, %s\n\n" head))
|
(insert (format "Wazzup, %s\n\n" head))
|
||||||
|
|
Loading…
Reference in a new issue