Allow magit-guess-branch to guess commits as well.

This commit is contained in:
Nathan Weizenbaum 2010-06-10 21:14:14 -07:00
parent 5744d3ec98
commit 5017a85447

View file

@ -2654,6 +2654,7 @@ Fails if working tree or staging area contain uncommitted changes.
(magit-section-case (item info) (magit-section-case (item info)
((wazzup commit) ((wazzup commit)
(magit-section-info (magit-section-parent item))) (magit-section-info (magit-section-parent item)))
((commit) (substring info 0 8))
((wazzup) info))) ((wazzup) info)))
(defun magit-manual-merge (revision) (defun magit-manual-merge (revision)