Skip to content

Commit 775e4cf

Browse files
committed
Merge branch 'release/v8.28'
2 parents cead681 + 050ce41 commit 775e4cf

File tree

96 files changed

+1880
-1428
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+1880
-1428
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Opensource Git GUI client.
77
* Supports Windows/macOS/Linux
88
* Opensource/Free
99
* Fast
10-
* English/German/Português/简体中文/繁體中文
10+
* English/Français/Deutsch/Português/简体中文/繁體中文
1111
* Built-in light/dark themes
1212
* Customize theme
1313
* Visual commit graph

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
8.27
1+
8.28

screenshots/theme_dark.png

430 KB
Loading

screenshots/theme_light.png

577 KB
Loading

src/App.Commands.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public ParameterCommand(Action<object> action)
4343

4444
private Action<object> _action = null;
4545
}
46-
46+
4747
public static readonly SimpleCommand OpenPreferenceCommand = new SimpleCommand(() => OpenDialog(new Views.Preference()));
4848
public static readonly SimpleCommand OpenHotkeysCommand = new SimpleCommand(() => OpenDialog(new Views.Hotkeys()));
4949
public static readonly SimpleCommand OpenAppDataDirCommand = new SimpleCommand(() => Native.OS.OpenInFileManager(Native.OS.DataDir));

src/App.axaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222

2323
<Application.Styles>
2424
<FluentTheme />
25-
<StyleInclude Source="avares://Avalonia.Controls.DataGrid/Themes/Fluent.xaml"/>
2625
<StyleInclude Source="avares://AvaloniaEdit/Themes/Fluent/AvaloniaEdit.xaml" />
2726
<StyleInclude Source="/Resources/Styles.axaml"/>
2827
</Application.Styles>

src/App.axaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public override void OnFrameworkInitializationCompleted()
9898

9999
public static void OpenDialog(Window window)
100100
{
101-
if (Current?.ApplicationLifetime is IClassicDesktopStyleApplicationLifetime { MainWindow: { } owner})
101+
if (Current?.ApplicationLifetime is IClassicDesktopStyleApplicationLifetime { MainWindow: { } owner })
102102
window.ShowDialog(owner);
103103
}
104104

src/Commands/Checkout.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public bool UseMine(List<string> files)
5858

5959
public bool FileWithRevision(string file, string revision)
6060
{
61-
Args = $"checkout {revision} -- \"{file}\"";
61+
Args = $"checkout --no-overlay {revision} -- \"{file}\"";
6262
return Exec();
6363
}
6464

src/Commands/CherryPick.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
{
33
public class CherryPick : Command
44
{
5-
public CherryPick(string repo, string commit, bool noCommit)
5+
public CherryPick(string repo, string commits, bool noCommit)
66
{
77
var mode = noCommit ? "-n" : "--ff";
88
WorkingDirectory = repo;
99
Context = repo;
10-
Args = $"cherry-pick {mode} {commit}";
10+
Args = $"cherry-pick {mode} {commits}";
1111
}
1212
}
1313
}

src/Commands/Command.cs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ public class CancelToken
1717

1818
public class ReadToEndResult
1919
{
20-
public bool IsSuccess { get; set; }
21-
public string StdOut { get; set; }
20+
public bool IsSuccess { get; set; } = false;
21+
public string StdOut { get; set; } = "";
22+
public string StdErr { get; set; } = "";
2223
}
2324

2425
public enum EditorType
@@ -198,18 +199,20 @@ public ReadToEndResult ReadToEnd()
198199
{
199200
proc.Start();
200201
}
201-
catch
202+
catch (Exception e)
202203
{
203204
return new ReadToEndResult()
204205
{
205206
IsSuccess = false,
206207
StdOut = string.Empty,
208+
StdErr = e.Message,
207209
};
208210
}
209211

210212
var rs = new ReadToEndResult()
211213
{
212214
StdOut = proc.StandardOutput.ReadToEnd(),
215+
StdErr = proc.StandardError.ReadToEnd(),
213216
};
214217

215218
proc.WaitForExit();

0 commit comments

Comments
 (0)