enhance: show git log without command itself for git bisect

Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
leo 2025-04-22 17:51:55 +08:00
parent 9a6c671a96
commit f2000b4a84
No known key found for this signature in database

View file

@ -965,9 +965,9 @@ namespace SourceGit.ViewModels
Dispatcher.UIThread.Invoke(() =>
{
if (!succ)
App.RaiseException(_fullpath, log.Content);
App.RaiseException(_fullpath, log.Content.Substring(log.Content.IndexOf('\n')).Trim());
else if (log.Content.Contains("is the first bad commit"))
App.SendNotification(_fullpath, log.Content);
App.SendNotification(_fullpath, log.Content.Substring(log.Content.IndexOf('\n')).Trim());
MarkBranchesDirtyManually();
SetWatcherEnabled(true);