Handle 7 and 8 char small sha
Otherwise this lead to an error in branch view mode.
This commit is contained in:
parent
bf14e965ba
commit
b3beac42cb
1 changed files with 1 additions and 1 deletions
2
magit.el
2
magit.el
|
@ -4175,7 +4175,7 @@ With prefix force the removal even it it hasn't been merged."
|
||||||
"\\(.+?\\) +" ; branch name
|
"\\(.+?\\) +" ; branch name
|
||||||
|
|
||||||
"\\(?:"
|
"\\(?:"
|
||||||
"\\([0-9a-fA-F]\\{7\\}\\) " ; sha1
|
"\\([0-9a-fA-F]\\{7,8\\}\\) " ; sha1
|
||||||
"\\|\\(-> \\)" ; or the pointer to a ref
|
"\\|\\(-> \\)" ; or the pointer to a ref
|
||||||
"\\)"
|
"\\)"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue