Skip to content

Commit 89f655c

Browse files
authored
fix: Show detached HEAD (#1060)
1 parent 0860245 commit 89f655c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ViewModels/Repository.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1012,7 +1012,7 @@ public void RefreshCommits()
10121012

10131013
var filters = _settings.BuildHistoriesFilter();
10141014
if (string.IsNullOrEmpty(filters))
1015-
builder.Append("--branches --remotes --tags");
1015+
builder.Append("--branches --remotes --tags HEAD");
10161016
else
10171017
builder.Append(filters);
10181018

0 commit comments

Comments
 (0)