Skip to content

Commit 4db8958

Browse files
committed
Merge branch 'release/v2025.39'
2 parents e2d0ba4 + 52875d7 commit 4db8958

File tree

141 files changed

+2059
-540
lines changed

Some content is hidden

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

141 files changed

+2059
-540
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
- name: Setup .NET
4444
uses: actions/setup-dotnet@v4
4545
with:
46-
dotnet-version: 9.0.x
46+
dotnet-version: 10.0.x
4747
- name: Configure arm64 packages
4848
if: matrix.runtime == 'linux-arm64'
4949
run: |

.github/workflows/format-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Set up .NET
1919
uses: actions/setup-dotnet@v4
2020
with:
21-
dotnet-version: 9.0.x
21+
dotnet-version: 10.0.x
2222

2323
- name: Run formatting check
2424
run: dotnet format --verify-no-changes

README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,20 @@
66
[![latest](https://img.shields.io/github/v/release/sourcegit-scm/sourcegit.svg)](https://github.com/sourcegit-scm/sourcegit/releases/latest)
77
[![downloads](https://img.shields.io/github/downloads/sourcegit-scm/sourcegit/total)](https://github.com/sourcegit-scm/sourcegit/releases)
88

9+
## Screenshots
10+
11+
* Dark Theme
12+
13+
![Theme Dark](./screenshots/theme_dark.png)
14+
15+
* Light Theme
16+
17+
![Theme Light](./screenshots/theme_light.png)
18+
19+
* Custom
20+
21+
You can find custom themes from [sourcegit-theme](https://github.com/sourcegit-scm/sourcegit-theme.git). And welcome to share your own themes.
22+
923
## Highlights
1024

1125
* Supports Windows/macOS/Linux
@@ -201,20 +215,6 @@ You can define your own conventional commit types (per-repository) by following
201215
```
202216
2. Configure the `Conventional Commit Types` in repository configuration window.
203217

204-
## Screenshots
205-
206-
* Dark Theme
207-
208-
![Theme Dark](./screenshots/theme_dark.png)
209-
210-
* Light Theme
211-
212-
![Theme Light](./screenshots/theme_light.png)
213-
214-
* Custom
215-
216-
You can find custom themes from [sourcegit-theme](https://github.com/sourcegit-scm/sourcegit-theme.git). And welcome to share your own themes.
217-
218218
## Contributing
219219

220220
Everyone is welcome to submit a PR. Please make sure your PR is based on the latest `develop` branch and the target branch of PR is `develop`.

THIRD-PARTY-LICENSES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ The project uses the following third-party libraries or assets
77
### AvaloniaUI
88

99
- **Source**: https://github.com/AvaloniaUI/Avalonia
10-
- **Version**: 11.3.8
10+
- **Version**: 11.3.9
1111
- **License**: MIT License
1212
- **License Link**: https://github.com/AvaloniaUI/Avalonia/blob/master/licence.md
1313

TRANSLATION.md

Lines changed: 41 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,21 @@ This document shows the translation status of each locale file in the repository
1010

1111
### ![es__ES](https://img.shields.io/badge/es__ES-%E2%88%9A-brightgreen)
1212

13-
### ![fr__FR](https://img.shields.io/badge/fr__FR-99.78%25-yellow)
13+
### ![fr__FR](https://img.shields.io/badge/fr__FR-99.34%25-yellow)
1414

1515
<details>
1616
<summary>Missing keys in fr_FR.axaml</summary>
1717

18+
- Text.BranchCM.EditDescription
1819
- Text.CommitMessageTextBox.Placeholder
20+
- Text.EditBranchDescription
21+
- Text.EditBranchDescription.Target
1922
- Text.FileCM.CustomAction
23+
- Text.OpenFile
2024

2125
</details>
2226

23-
### ![id__ID](https://img.shields.io/badge/id__ID-97.56%25-yellow)
27+
### ![id__ID](https://img.shields.io/badge/id__ID-97.14%25-yellow)
2428

2529
<details>
2630
<summary>Missing keys in id_ID.axaml</summary>
@@ -29,6 +33,7 @@ This document shows the translation status of each locale file in the repository
2933
- Text.Blame.BlameOnPreviousRevision
3034
- Text.BranchCM.CreatePR
3135
- Text.BranchCM.CreatePRForUpstream
36+
- Text.BranchCM.EditDescription
3237
- Text.CommitCM.Drop
3338
- Text.CommitMessageTextBox.Placeholder
3439
- Text.Configure.CommitMessageTemplate.BuiltinVars
@@ -37,6 +42,8 @@ This document shows the translation status of each locale file in the repository
3742
- Text.DropHead
3843
- Text.DropHead.Commit
3944
- Text.DropHead.NewHead
45+
- Text.EditBranchDescription
46+
- Text.EditBranchDescription.Target
4047
- Text.FileCM.CustomAction
4148
- Text.GitLFS.Locks.UnlockAllMyLocks
4249
- Text.GitLFS.Locks.UnlockAllMyLocks.Confirm
@@ -45,12 +52,13 @@ This document shows the translation status of each locale file in the repository
4552
- Text.Launcher.OpenRepository
4653
- Text.Open
4754
- Text.Open.SystemDefaultEditor
55+
- Text.OpenFile
4856
- Text.PushToNewBranch
4957
- Text.PushToNewBranch.Title
5058

5159
</details>
5260

53-
### ![it__IT](https://img.shields.io/badge/it__IT-94.91%25-yellow)
61+
### ![it__IT](https://img.shields.io/badge/it__IT-94.49%25-yellow)
5462

5563
<details>
5664
<summary>Missing keys in it_IT.axaml</summary>
@@ -59,6 +67,7 @@ This document shows the translation status of each locale file in the repository
5967
- Text.Blame.BlameOnPreviousRevision
6068
- Text.BranchCM.CreatePR
6169
- Text.BranchCM.CreatePRForUpstream
70+
- Text.BranchCM.EditDescription
6271
- Text.BranchCM.SwitchToWorktree
6372
- Text.BranchTree.Ahead
6473
- Text.BranchTree.AheadBehind
@@ -80,6 +89,8 @@ This document shows the translation status of each locale file in the repository
8089
- Text.DropHead
8190
- Text.DropHead.Commit
8291
- Text.DropHead.NewHead
92+
- Text.EditBranchDescription
93+
- Text.EditBranchDescription.Target
8394
- Text.FileCM.CustomAction
8495
- Text.GitLFS.Locks.UnlockAllMyLocks
8596
- Text.GitLFS.Locks.UnlockAllMyLocks.Confirm
@@ -88,6 +99,7 @@ This document shows the translation status of each locale file in the repository
8899
- Text.Launcher.OpenRepository
89100
- Text.Open
90101
- Text.Open.SystemDefaultEditor
102+
- Text.OpenFile
91103
- Text.Preferences.AI.ReadApiKeyFromEnv
92104
- Text.Preferences.Appearance.UseAutoHideScrollBars
93105
- Text.Preferences.General.EnableCompactFolders
@@ -104,7 +116,7 @@ This document shows the translation status of each locale file in the repository
104116

105117
</details>
106118

107-
### ![ja__JP](https://img.shields.io/badge/ja__JP-76.30%25-yellow)
119+
### ![ja__JP](https://img.shields.io/badge/ja__JP-75.99%25-yellow)
108120

109121
<details>
110122
<summary>Missing keys in ja_JP.axaml</summary>
@@ -128,6 +140,7 @@ This document shows the translation status of each locale file in the repository
128140
- Text.BranchCM.CompareWithCurrent
129141
- Text.BranchCM.CreatePR
130142
- Text.BranchCM.CreatePRForUpstream
143+
- Text.BranchCM.EditDescription
131144
- Text.BranchCM.ResetToSelectedCommit
132145
- Text.BranchCM.SwitchToWorktree
133146
- Text.BranchTree.Ahead
@@ -219,6 +232,8 @@ This document shows the translation status of each locale file in the repository
219232
- Text.DropHead
220233
- Text.DropHead.Commit
221234
- Text.DropHead.NewHead
235+
- Text.EditBranchDescription
236+
- Text.EditBranchDescription.Target
222237
- Text.ExecuteCustomAction.Target
223238
- Text.ExecuteCustomAction.Repository
224239
- Text.FileCM.CustomAction
@@ -240,6 +255,7 @@ This document shows the translation status of each locale file in the repository
240255
- Text.MoveSubmodule.Submodule
241256
- Text.Open
242257
- Text.Open.SystemDefaultEditor
258+
- Text.OpenFile
243259
- Text.Preferences.AI.ReadApiKeyFromEnv
244260
- Text.Preferences.Appearance.UseAutoHideScrollBars
245261
- Text.Preferences.General.EnableCompactFolders
@@ -326,7 +342,7 @@ This document shows the translation status of each locale file in the repository
326342

327343
</details>
328344

329-
### ![ko__KR](https://img.shields.io/badge/ko__KR-98.01%25-yellow)
345+
### ![ko__KR](https://img.shields.io/badge/ko__KR-97.47%25-yellow)
330346

331347
<details>
332348
<summary>Missing keys in ko_KR.axaml</summary>
@@ -335,9 +351,12 @@ This document shows the translation status of each locale file in the repository
335351
- Text.Blame.TypeNotSupported
336352
- Text.BranchCM.CreatePR
337353
- Text.BranchCM.CreatePRForUpstream
354+
- Text.BranchCM.EditDescription
338355
- Text.CommitMessageTextBox.Placeholder
339356
- Text.Configure.Git.ConventionalTypesOverride
340357
- Text.ConfigureCustomActionControls.StringValue.Tip
358+
- Text.EditBranchDescription
359+
- Text.EditBranchDescription.Target
341360
- Text.FileCM.CustomAction
342361
- Text.GitLFS.Locks.UnlockAllMyLocks
343362
- Text.GitLFS.Locks.UnlockAllMyLocks.Confirm
@@ -346,13 +365,15 @@ This document shows the translation status of each locale file in the repository
346365
- Text.Launcher.OpenRepository
347366
- Text.Open
348367
- Text.Open.SystemDefaultEditor
368+
- Text.OpenFile
369+
- Text.Preferences.Appearance.UseFixedTabWidth
349370
- Text.PushToNewBranch
350371
- Text.PushToNewBranch.Title
351372
- Text.Submodule.Status.Unmerged
352373

353374
</details>
354375

355-
### ![pt__BR](https://img.shields.io/badge/pt__BR-69.99%25-red)
376+
### ![pt__BR](https://img.shields.io/badge/pt__BR-69.71%25-red)
356377

357378
<details>
358379
<summary>Missing keys in pt_BR.axaml</summary>
@@ -382,6 +403,7 @@ This document shows the translation status of each locale file in the repository
382403
- Text.BranchCM.CreatePR
383404
- Text.BranchCM.CreatePRForUpstream
384405
- Text.BranchCM.CustomAction
406+
- Text.BranchCM.EditDescription
385407
- Text.BranchCM.MergeMultiBranches
386408
- Text.BranchCM.ResetToSelectedCommit
387409
- Text.BranchCM.SwitchToWorktree
@@ -489,6 +511,8 @@ This document shows the translation status of each locale file in the repository
489511
- Text.DropHead
490512
- Text.DropHead.Commit
491513
- Text.DropHead.NewHead
514+
- Text.EditBranchDescription
515+
- Text.EditBranchDescription.Target
492516
- Text.ExecuteCustomAction.Target
493517
- Text.ExecuteCustomAction.Repository
494518
- Text.Fetch.Force
@@ -522,6 +546,7 @@ This document shows the translation status of each locale file in the repository
522546
- Text.MoveSubmodule.Submodule
523547
- Text.Open
524548
- Text.Open.SystemDefaultEditor
549+
- Text.OpenFile
525550
- Text.Preferences.AI.ReadApiKeyFromEnv
526551
- Text.Preferences.AI.Streaming
527552
- Text.Preferences.Appearance.EditorTabWidth
@@ -633,7 +658,7 @@ This document shows the translation status of each locale file in the repository
633658

634659
### ![ru__RU](https://img.shields.io/badge/ru__RU-%E2%88%9A-brightgreen)
635660

636-
### ![ta__IN](https://img.shields.io/badge/ta__IN-76.41%25-yellow)
661+
### ![ta__IN](https://img.shields.io/badge/ta__IN-76.10%25-yellow)
637662

638663
<details>
639664
<summary>Missing keys in ta_IN.axaml</summary>
@@ -657,6 +682,7 @@ This document shows the translation status of each locale file in the repository
657682
- Text.BranchCM.CompareWithCurrent
658683
- Text.BranchCM.CreatePR
659684
- Text.BranchCM.CreatePRForUpstream
685+
- Text.BranchCM.EditDescription
660686
- Text.BranchCM.ResetToSelectedCommit
661687
- Text.BranchCM.SwitchToWorktree
662688
- Text.BranchTree.Ahead
@@ -748,6 +774,8 @@ This document shows the translation status of each locale file in the repository
748774
- Text.DropHead
749775
- Text.DropHead.Commit
750776
- Text.DropHead.NewHead
777+
- Text.EditBranchDescription
778+
- Text.EditBranchDescription.Target
751779
- Text.ExecuteCustomAction.Target
752780
- Text.ExecuteCustomAction.Repository
753781
- Text.FileCM.CustomAction
@@ -769,6 +797,7 @@ This document shows the translation status of each locale file in the repository
769797
- Text.MoveSubmodule.Submodule
770798
- Text.Open
771799
- Text.Open.SystemDefaultEditor
800+
- Text.OpenFile
772801
- Text.Preferences.AI.ReadApiKeyFromEnv
773802
- Text.Preferences.Appearance.UseAutoHideScrollBars
774803
- Text.Preferences.General.EnableCompactFolders
@@ -854,7 +883,7 @@ This document shows the translation status of each locale file in the repository
854883

855884
</details>
856885

857-
### ![uk__UA](https://img.shields.io/badge/uk__UA-77.52%25-yellow)
886+
### ![uk__UA](https://img.shields.io/badge/uk__UA-77.20%25-yellow)
858887

859888
<details>
860889
<summary>Missing keys in uk_UA.axaml</summary>
@@ -877,6 +906,7 @@ This document shows the translation status of each locale file in the repository
877906
- Text.Blame.BlameOnPreviousRevision
878907
- Text.BranchCM.CreatePR
879908
- Text.BranchCM.CreatePRForUpstream
909+
- Text.BranchCM.EditDescription
880910
- Text.BranchCM.ResetToSelectedCommit
881911
- Text.BranchCM.SwitchToWorktree
882912
- Text.BranchTree.Ahead
@@ -964,6 +994,8 @@ This document shows the translation status of each locale file in the repository
964994
- Text.DropHead
965995
- Text.DropHead.Commit
966996
- Text.DropHead.NewHead
997+
- Text.EditBranchDescription
998+
- Text.EditBranchDescription.Target
967999
- Text.ExecuteCustomAction.Target
9681000
- Text.ExecuteCustomAction.Repository
9691001
- Text.FileCM.CustomAction
@@ -985,6 +1017,7 @@ This document shows the translation status of each locale file in the repository
9851017
- Text.MoveSubmodule.Submodule
9861018
- Text.Open
9871019
- Text.Open.SystemDefaultEditor
1020+
- Text.OpenFile
9881021
- Text.Preferences.AI.ReadApiKeyFromEnv
9891022
- Text.Preferences.Appearance.UseAutoHideScrollBars
9901023
- Text.Preferences.General.EnableCompactFolders

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025.38
1+
2025.39

build/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
## How to build this project manually
77

8-
1. Make sure [.NET SDK 9](https://dotnet.microsoft.com/en-us/download) is installed on your machine.
8+
1. Make sure [.NET SDK 10](https://dotnet.microsoft.com/en-us/download) is installed on your machine.
99
2. Clone this project
1010
3. Run the follow command under the project root dir
1111
```sh

global.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"sdk": {
3-
"version": "9.0.0",
3+
"version": "10.0.0",
44
"rollForward": "latestMajor",
55
"allowPrerelease": false
66
}
7-
}
7+
}

src/Commands/CompareRevisions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public CompareRevisions(string repo, string start, string end, string path)
3939
proc.StartInfo = CreateGitStartInfo(true);
4040
proc.Start();
4141

42-
while (await proc.StandardOutput.ReadLineAsync() is { } line)
42+
while (await proc.StandardOutput.ReadLineAsync().ConfigureAwait(false) is { } line)
4343
{
4444
var match = REG_FORMAT().Match(line);
4545
if (!match.Success)

src/Commands/Diff.cs

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
using System;
22
using System.Collections.Generic;
33
using System.Diagnostics;
4+
using System.Text;
45
using System.Text.RegularExpressions;
56
using System.Threading.Tasks;
67

@@ -25,12 +26,16 @@ public Diff(string repo, Models.DiffOption opt, int unified, bool ignoreWhitespa
2526
WorkingDirectory = repo;
2627
Context = repo;
2728

29+
var builder = new StringBuilder(256);
30+
builder.Append("diff --no-color --no-ext-diff --patch ");
31+
if (Models.DiffOption.IgnoreCRAtEOL)
32+
builder.Append("--ignore-cr-at-eol ");
2833
if (ignoreWhitespace)
29-
Args = $"diff --no-ext-diff --patch --ignore-all-space --unified={unified} {opt}";
30-
else if (Models.DiffOption.IgnoreCRAtEOL)
31-
Args = $"diff --no-ext-diff --patch --ignore-cr-at-eol --unified={unified} {opt}";
32-
else
33-
Args = $"diff --no-ext-diff --patch --unified={unified} {opt}";
34+
builder.Append("--ignore-space-change ");
35+
builder.Append("--unified=").Append(unified).Append(' ');
36+
builder.Append(opt.ToString());
37+
38+
Args = builder.ToString();
3439
}
3540

3641
public async Task<Models.DiffResult> ReadAsync()
@@ -41,7 +46,7 @@ public Diff(string repo, Models.DiffOption opt, int unified, bool ignoreWhitespa
4146
proc.StartInfo = CreateGitStartInfo(true);
4247
proc.Start();
4348

44-
while (await proc.StandardOutput.ReadLineAsync() is { } line)
49+
while (await proc.StandardOutput.ReadLineAsync().ConfigureAwait(false) is { } line)
4550
ParseLine(line);
4651

4752
await proc.WaitForExitAsync().ConfigureAwait(false);

0 commit comments

Comments
 (0)