We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a4ac43 commit 8c365edCopy full SHA for 8c365ed
1 file changed
docs/index.html
@@ -88,8 +88,8 @@
88
89
# parse branch
90
branch=$(__parse "s/^## (HEAD \(no branch\))$/\1/p")
91
- branch=${branch:-$(__parse "s/^## No commits yet on (.*)$/\1/p")}
92
- branch=${branch:-$(__parse "s/^## (.*)[\.]{3}[^ ]*.*$/\1/p")} # branch...remote
+ branch=${branch:-$(__parse "s/^## No commits yet on ([^\.]*).*$/\1/p")}
+ branch=${branch:-$(__parse "s/^## ([^\.]*)[\.]{3}.*$/\1/p")} # branch...remote
93
branch=${branch:-$(__parse "s/^## (.*)[^ ]*.*$/\1/p")} # branch
94
95
# parse push state
0 commit comments