Skip to content

Commit f2000b4

Browse files
committed
enhance: show git log without command itself for git bisect
Signed-off-by: leo <[email protected]>
1 parent 9a6c671 commit f2000b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ViewModels/Repository.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -965,9 +965,9 @@ public void Bisect(string subcmd)
965965
Dispatcher.UIThread.Invoke(() =>
966966
{
967967
if (!succ)
968-
App.RaiseException(_fullpath, log.Content);
968+
App.RaiseException(_fullpath, log.Content.Substring(log.Content.IndexOf('\n')).Trim());
969969
else if (log.Content.Contains("is the first bad commit"))
970-
App.SendNotification(_fullpath, log.Content);
970+
App.SendNotification(_fullpath, log.Content.Substring(log.Content.IndexOf('\n')).Trim());
971971

972972
MarkBranchesDirtyManually();
973973
SetWatcherEnabled(true);

0 commit comments

Comments
 (0)