Commit Graph

4639 Commits

Author SHA1 Message Date
github-actions[bot]
29dfecdfb7 doc: Update translation status and sort locale files 2025-11-19 04:20:19 +00:00
leo
101ad13d63 feature: add Use fixed tab width in titlebar option back (#1910)
Signed-off-by: leo <longshuang@msn.cn>
2025-11-19 12:18:45 +08:00
leo
4419b734a5 enhance: always turn off --color=<when> and --ext-diff when calling git diff in SourceGit (#1922)
Signed-off-by: leo <longshuang@msn.cn>
2025-11-19 10:28:51 +08:00
github-actions[bot]
0670cf1c08 doc: Update translation status and sort locale files 2025-11-19 02:22:05 +00:00
Sina Hinderks
e3b45335cb localization: update German translations (#1923) 2025-11-19 10:21:50 +08:00
leo
d4a15e5b3e project: upgrade AvaloniaUI to 11.3.9
Signed-off-by: leo <longshuang@msn.cn>
2025-11-18 17:40:12 +08:00
leo
d5d0f23a79 ux: add icons for popups
Signed-off-by: leo <longshuang@msn.cn>
2025-11-18 17:20:03 +08:00
github-actions[bot]
2e8e5e9566 doc: Update translation status and sort locale files 2025-11-18 03:58:03 +00:00
leo
4d48d1f922 feature: allows to edit branch's description (branch.<name>.description) and show it in branch's tooltip (#1920)
Signed-off-by: leo <longshuang@msn.cn>
2025-11-18 11:57:29 +08:00
leo
59758903b3 refactor: rewrite the way to load commit message from $GIT_DIR for in-progress action
Signed-off-by: leo <longshuang@msn.cn>
2025-11-17 16:49:55 +08:00
leo
b09d7b86e6 refactor: rewrite in-progress context and clear commit message to reload it from MERGE_MSG
Signed-off-by: leo <longshuang@msn.cn>
2025-11-17 16:39:07 +08:00
leo
caff33280b Merge branch 'master' into develop 2025-11-17 10:25:14 +08:00
leo
e2d0ba4ceb Merge branch 'release/v2025.38' v2025.38 2025-11-17 10:24:42 +08:00
leo
41d7878652 version: Release 2025.38
Signed-off-by: leo <longshuang@msn.cn>
2025-11-17 10:24:37 +08:00
github-actions[bot]
ef055bca25 doc: Update translation status and sort locale files 2025-11-17 02:23:28 +00:00
AquariusStar
8c68360ae2 localization: update Russian translation (#1919) 2025-11-17 10:23:18 +08:00
leo
562f21df6f enhance: always try to load commit message from $GIT_DIR/MERGE_MSG (#1915)
Signed-off-by: leo <longshuang@msn.cn>
2025-11-13 18:12:59 +08:00
leo
c4bcc5e174 code_style: more readable code
Signed-off-by: leo <longshuang@msn.cn>
2025-11-11 17:25:05 +08:00
leo
f572366c1d enhance: delete remote branch filter after the related branch has been deleted
Signed-off-by: leo <longshuang@msn.cn>
2025-11-10 15:50:03 +08:00
leo
2a99ee670b code_review: PR #1907
For untracked/added file, `\\ No newline at end of file` will always be added to the end of patch.

Signed-off-by: leo <longshuang@msn.cn>
2025-11-10 11:43:28 +08:00
Sina Hinderks
f88c424c10 fix: handling of last line without newline in hunks (#1907)
Motivation: Some editors (depending on editor configuration) change the
last line of a file by adding a missing newline.  But in order to keep
diffs at a minimum, it's sometimes advisable to not include this change
into the commit.  This should be possible by discarding the hunk with
this change.

Now it is possible to discard (or stage/unstage) such a change.
Previously discarding such a change was ignored, when there were other
changes in the same file.
2025-11-10 11:36:41 +08:00
github-actions[bot]
1e0dbcd24f doc: Update translation status and sort locale files 2025-11-10 03:31:57 +00:00
Sina Hinderks
d6bff4f867 localization: update German translations (#1906) 2025-11-10 11:31:46 +08:00
leo
4f11d8a077 feature: auto-remove history filter after deleting branch or tag (#1904)
Signed-off-by: leo <longshuang@msn.cn>
2025-11-10 11:31:03 +08:00
leo
2fdff53b2f feature: add on-behalf-of: keyword auto-completion
Signed-off-by: leo <longshuang@msn.cn>
2025-11-07 16:30:28 +08:00
leo
311244b9ad fix: avoid crashing when try to close a repository that has been deleted on disk
Signed-off-by: leo <longshuang@msn.cn>
2025-11-07 10:30:06 +08:00
leo
2ed83c5e2c fix: pre-filled action does not update some attributes of InteractiveRebaseItem
Signed-off-by: leo <longshuang@msn.cn>
2025-11-07 10:06:43 +08:00
leo
c6b521d680 ux: Conventional Commit Helper window is none-modal dialog now (#1901)
Signed-off-by: leo <longshuang@msn.cn>
2025-11-07 10:02:12 +08:00
leo
4d456f8558 enhance: clear updating workingcopy timer while calling MarkBranchesDirtyManually
Signed-off-by: leo <longshuang@msn.cn>
2025-11-06 19:29:00 +08:00
leo
9445faa238 ux: completion window border
Signed-off-by: leo <longshuang@msn.cn>
2025-11-06 19:13:56 +08:00
leo
dab051951e refactor: use dynamic resource binding property rather than hard code for commit message toolbox placeholder
Signed-off-by: leo <longshuang@msn.cn>
2025-11-06 10:45:12 +08:00
leo
bc4f06eda9 feature: add Refs: keyword
Signed-off-by: leo <longshuang@msn.cn>
2025-11-06 10:34:02 +08:00
leo
7a207a3589 enhance: completion window display limitation
Signed-off-by: leo <longshuang@msn.cn>
2025-11-06 10:30:48 +08:00
leo
1dd2d1a6c8 refactor: better way to calculate length of commit subject
- All empty line before valid commit message content will be ignored by git
- Whitespace at end-of-line will be ignored by git
- Whitespace at begining-of-line will be used by git
- For multiple-lines in subject, it will be replaced by single space by git when querying commit's subject

Signed-off-by: leo <longshuang@msn.cn>
2025-11-05 18:11:21 +08:00
leo
52ade74d67 enhance: git commit message keyword must starts from begining of a line
Signed-off-by: leo <longshuang@msn.cn>
2025-11-05 16:52:58 +08:00
leo
a744a93560 feature: auto-complete git commit message keywords, such as Co-authored-by:
Signed-off-by: leo <longshuang@msn.cn>
2025-11-05 16:39:31 +08:00
leo
54fedef50c code_style: remove unused code
Signed-off-by: leo <longshuang@msn.cn>
2025-11-05 15:03:16 +08:00
leo
1ea69d978d enhance: clear search results and suggestions after filter was cleared
Signed-off-by: leo <longshuang@msn.cn>
2025-11-05 14:51:41 +08:00
leo
31673a061f ux: layout for CreateBranch popup (#1896)
Signed-off-by: leo <longshuang@msn.cn>
2025-11-05 11:50:03 +08:00
leo
75c667f7b2 refactor: move searching commit code from Repository to SearchCommitContext and keep inputs remained while repo is opened (#1884)
Signed-off-by: leo <longshuang@msn.cn>
2025-11-05 11:38:03 +08:00
leo
642f576c14 ux: layout for CreateBranch popup (#1896)
Signed-off-by: leo <longshuang@msn.cn>
2025-11-05 10:24:19 +08:00
github-actions[bot]
d26eddec64 doc: Update translation status and sort locale files 2025-11-05 02:20:09 +00:00
Javier J. Martínez M.
3bafc7474b localization: update Spanish translation (#1895)
Add missing strings.
2025-11-05 10:19:53 +08:00
leo
95ddedd7b6 refactor: save history filters into $GIT_DIR/sourcegit.filters to support different filters between worktrees (#1893)
Signed-off-by: leo <longshuang@msn.cn>
2025-11-04 20:54:49 +08:00
leo
36aeb3f932 feature: supports CLI command --file-history <file_path> to view given file history (#1892)
Signed-off-by: leo <longshuang@msn.cn>
2025-11-04 16:54:47 +08:00
leo
4c38170584 enhance: use VisualLinesChanged instead of LayoutUpdated to reduce the times to call InvalidateVisual
Signed-off-by: leo <longshuang@msn.cn>
2025-11-04 16:33:21 +08:00
leo
64d44efaf9 fix: do not draw separator line if all subject has been scrolled out of display viewbox
Signed-off-by: leo <longshuang@msn.cn>
2025-11-04 16:19:01 +08:00
leo
1fd8587667 localization: typo in Text.CommitMessageTextBox.Placeholder
Signed-off-by: leo <longshuang@msn.cn>
2025-11-04 15:55:19 +08:00
leo
b26a186f08 code_style: remove unnecessary InvalidateVisual calls
Signed-off-by: leo <longshuang@msn.cn>
2025-11-04 15:53:45 +08:00
github-actions[bot]
b49bae6a21 doc: Update translation status and sort locale files 2025-11-04 07:48:37 +00:00