Skip to content

Commit 4d37e73

Browse files
committed
ux: should not use friendly name for Squash Commits Since This
Signed-off-by: leo <[email protected]>
1 parent 74d7e74 commit 4d37e73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ViewModels/Histories.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ public ContextMenu CreateContextMenuForSelectedCommits(List<Models.Commit> selec
501501
if (commit.IsMerged)
502502
{
503503
var squash = new MenuItem();
504-
squash.Header = App.Text("CommitCM.SquashCommitsSinceThis", target);
504+
squash.Header = App.Text("CommitCM.SquashCommitsSinceThis", commit.SHA.Substring(0, 10));
505505
squash.Icon = App.CreateMenuIcon("Icons.SquashIntoParent");
506506
squash.Click += (_, e) =>
507507
{

0 commit comments

Comments
 (0)