Skip to content

Commit 1995fa3

Browse files
committed
fix branch name in GitConfiguration
1 parent ce7d1cc commit 1995fa3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Elastic.Markdown/IO/GitConfiguration.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ public static GitConfiguration Create(IFileSystem fileSystem)
3737
{
3838
head = head.Replace("ref: ", string.Empty);
3939
gitRef = Read(".git/" + head);
40+
branch = branch.Replace("ref: ", string.Empty);
4041
}
4142
else
4243
branch = "detached/head";

0 commit comments

Comments
 (0)