From 5017a854470155a7b3d1820026ae381e549cb430 Mon Sep 17 00:00:00 2001 From: Nathan Weizenbaum Date: Thu, 10 Jun 2010 21:14:14 -0700 Subject: [PATCH] Allow magit-guess-branch to guess commits as well. --- magit.el | 1 + 1 file changed, 1 insertion(+) diff --git a/magit.el b/magit.el index c03ad68d..085b343f 100644 --- a/magit.el +++ b/magit.el @@ -2654,6 +2654,7 @@ Fails if working tree or staging area contain uncommitted changes. (magit-section-case (item info) ((wazzup commit) (magit-section-info (magit-section-parent item))) + ((commit) (substring info 0 8)) ((wazzup) info))) (defun magit-manual-merge (revision)