Commit Diff


commit - cb2c391069cbb23eef0fc0aafde278b3da2e9cda
commit + 660cf35dc5e0307c8196608a1e7fbdf2178ba32a
blob - c2500bfc0171160c9c829433d0ad9406d659b683
blob + d3a624a53e45876734044baa829deca717afe6df
--- vc-got.el
+++ vc-got.el
@@ -322,7 +322,8 @@ ROOT is the root of the repo."
       (when (zerop (vc-got--call "branch" "-l"))
         (let (alist)
           (goto-char (point-min))
-          (while (re-search-forward "^\\* \\(.+\\): \\([[:word:]]+\\)$" nil t)
+          (while (re-search-forward "^\\*?[[:space:]]+\\(.+\\): \\([[:word:]]+\\)$"
+                                    nil t)
             (push (cons (match-string 1) (match-string 2)) alist))
           alist)))))