Otherwise this lead to an error in branch view mode.
---
 magit.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/magit.el b/magit.el
index 051c292..5d5d16b 100644
--- a/magit.el
+++ b/magit.el
@@ -4175,7 +4175,7 @@ With prefix force the removal even it it hasn't been 
merged."
                  "\\(.+?\\) +"                ; branch name
 
                  "\\(?:"
-                 "\\([0-9a-fA-F]\\{7\\}\\) "  ; sha1
+                 "\\([0-9a-fA-F]\\{7,8\\}\\) "  ; sha1
                  "\\|\\(-> \\)"               ; or the pointer to a ref
                  "\\)"
 
-- 
1.7.1

Reply via email to