Skip to content

Commit

Permalink
fix branch name in GitConfiguration
Browse files Browse the repository at this point in the history
  • Loading branch information
Mpdreamz committed Dec 10, 2024
1 parent ce7d1cc commit 1995fa3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Elastic.Markdown/IO/GitConfiguration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ public static GitConfiguration Create(IFileSystem fileSystem)
{
head = head.Replace("ref: ", string.Empty);
gitRef = Read(".git/" + head);
branch = branch.Replace("ref: ", string.Empty);
}
else
branch = "detached/head";
Expand Down

0 comments on commit 1995fa3

Please sign in to comment.