Commit Graph

3794 Commits

Author SHA1 Message Date
leo
7db1442090 feature: use <SOURCEGIT> --blame <FILE> to launch SourceGit as Blame viewer (#2047)
Signed-off-by: leo <longshuang@msn.cn>
2026-01-13 20:58:44 +08:00
github-actions[bot]
a546bec89d doc: Update translation status and sort locale files 2026-01-13 07:41:11 +00:00
leo
3ee3c4e021 refactor: --recursive will always be enabled while initializing or updating submodules
Signed-off-by: leo <longshuang@msn.cn>
2026-01-13 15:40:53 +08:00
leo
62bdadc40d code_review: PR #2043
- Opening repo as folder in VS should always be available
- Use single `_optionsGenerator` instead of `_execArgsGenerator` and `_subOptionsFinder`
- Make sure path is always quoted

Signed-off-by: leo <longshuang@msn.cn>
2026-01-13 12:04:56 +08:00
ギャップ
3dbab1c7bf feat: multi-solution management (#2043) 2026-01-13 10:31:55 +08:00
leo
96e2754bac fix: support to switch blaming revision with renamed files (#2040)
Signed-off-by: leo <longshuang@msn.cn>
2026-01-12 21:00:07 +08:00
leo
46c1e4b324 ux: use github.png for github-actions[bot]
Signed-off-by: leo <longshuang@msn.cn>
2026-01-12 11:50:07 +08:00
leo
af1363e6bf enhance: use git reset --hard instead of git reset HEAD --hard to ignore all local changes (#2037)
Signed-off-by: leo <longshuang@msn.cn>
2026-01-12 10:47:12 +08:00
AquariusStar
82b86564a1 localization: update Russian translate (#2034) 2026-01-12 10:20:46 +08:00
leo
807d80d1fa code_style: remove xaml warnings
Signed-off-by: leo <longshuang@msn.cn>
2026-01-09 17:10:25 +08:00
leo
749be04f0b code_style: remove style resource warnings
Signed-off-by: leo <longshuang@msn.cn>
2026-01-09 16:51:26 +08:00
leo
c2fbdc0710 enhance: use Models.NumericSort.Compare instead of string.CompareTo to sort refs
Signed-off-by: leo <longshuang@msn.cn>
2026-01-09 16:18:39 +08:00
leo
3b9fe9de4c code_style: remove duplicated event handlers
Signed-off-by: leo <longshuang@msn.cn>
2026-01-09 11:03:46 +08:00
leo
5a67a9f1aa feature: supports to exclude some editors (#2033)
Signed-off-by: leo <longshuang@msn.cn>
2026-01-07 16:51:08 +08:00
leo
5690193657 localization: update zh_CN translations
Signed-off-by: leo <longshuang@msn.cn>
2026-01-07 15:13:06 +08:00
leo
a6a86cd9c5 feature: show build date in About dialog
Signed-off-by: leo <longshuang@msn.cn>
2026-01-07 15:09:32 +08:00
leo
f40433b34b ux: new style for ref compare dialog
Signed-off-by: leo <longshuang@msn.cn>
2026-01-06 17:59:59 +08:00
leo
8835563d44 localization: remove duplicated translations
Signed-off-by: leo <longshuang@msn.cn>
2026-01-06 16:54:39 +08:00
leo
36b3a5166b ux: ignore zoom for left caption buttons on macOS
Signed-off-by: leo <longshuang@msn.cn>
2026-01-06 15:22:16 +08:00
leo
d0fe053ec2 ux: limit the max width of base ref name
Signed-off-by: leo <longshuang@msn.cn>
2026-01-06 14:49:09 +08:00
leo
5f26c811f1 code_style: cleanup Histories
Signed-off-by: leo <longshuang@msn.cn>
2026-01-06 14:42:20 +08:00
github-actions[bot]
db894543cb doc: Update translation status and sort locale files 2026-01-06 03:50:05 +00:00
leo
143ba360fc refactor: ref comparison
- Rename `BranchCompare` to `Compare`
- Remove comparison between branch and worktree
- Allows to compare selected tag/branch to any other branch/tag (not only HEAD)
- Compare command palette shows the current base revision(ref) to compare with

Signed-off-by: leo <longshuang@msn.cn>
2026-01-06 11:48:45 +08:00
AquariusStar
6e8d1a4603 localization: update Russian translation (#2031) 2026-01-06 10:26:07 +08:00
leo
94eb5db36f feature: supports to select two branches/tags to compare them
Signed-off-by: leo <longshuang@msn.cn>
2026-01-05 20:39:35 +08:00
leo
41bbefb8b7 feature: supports pre-fill short description for custom conventional commit types (#2024)
Signed-off-by: leo <longshuang@msn.cn>
2026-01-05 16:26:21 +08:00
leo
c07c2790fc ux: new style for Push to a NEW branch dialog
Signed-off-by: leo <longshuang@msn.cn>
2026-01-05 15:53:54 +08:00
leo
7043a22de6 feature: allows to compare selected tag with current HEAD
Signed-off-by: leo <longshuang@msn.cn>
2026-01-05 15:05:49 +08:00
leo
bfee290feb code_review: PR #2030
The latest change collection should be passed to `GetStagedChange`

Signed-off-by: leo <longshuang@msn.cn>
2026-01-05 12:20:52 +08:00
Sina Hinderks
42db2b16f5 fix: sometimes no staged/unstaged changes were shown (#2030)
Due to a race condition it was possible, that there were changes (the
badge for LOCAL CHANGES showed a non-zero number), but there were no
staged or unstaged files shown.

The problem was, that while loading the changes for the first time, the
watcher could start the loading a second time.  The first loading was
cancelled, but it could have already set the first instance variable. 
Therefore, on the second load a shortcut was done, since there was
seemingly no change.
2026-01-05 12:17:27 +08:00
Sina Hinderks
ec6a2255a3 localization: update German translations (#2029) 2026-01-05 12:14:43 +08:00
leo
8dbe902b55 fix: last line change may disable hunk operation in side-by-side diff (#2027)
Signed-off-by: leo <longshuang@msn.cn>
2026-01-05 12:13:19 +08:00
leo
bd79999615 feature: use Ctrl + -/= to zoom in/out window content (#1810)
Co-authored-by: Danielku15 <danielku15@coderline.net>
Signed-off-by: leo <longshuang@msn.cn>
2026-01-04 16:55:01 +08:00
leo
c91fea3b24 localization: update zh_CN (#2021)
Signed-off-by: leo <longshuang@msn.cn>
2026-01-04 10:50:35 +08:00
leo
8af314b1fd code_style: use nameof(ActualThemeVariant) instead of const string
Signed-off-by: leo <longshuang@msn.cn>
2025-12-30 16:59:58 +08:00
leo
9dc0d94aad enhance: make sure executable file of external tool is still available before opening it (#2019)
Signed-off-by: leo <longshuang@msn.cn>
2025-12-30 16:14:41 +08:00
leo
9877bac13d ux: display page name in front of workspace name in window title
Signed-off-by: leo <longshuang@msn.cn>
2025-12-30 15:42:09 +08:00
leo
9f1d77d667 ux: commit base info layout
Signed-off-by: leo <longshuang@msn.cn>
2025-12-30 12:32:29 +08:00
leo
1a4fae7ae5 fix: always try to navigate to selected commit even if it is not changed in Blame (#2017)
Signed-off-by: leo <longshuang@msn.cn>
2025-12-29 18:58:38 +08:00
leo
bb395a2ac2 project: drop Fleet supports
Signed-off-by: leo <longshuang@msn.cn>
2025-12-29 17:36:12 +08:00
leo
8e765bede7 feature: enable core.untrackedCache=true and status.showUntrackedFiles=all while querying local changes include untracked files (#2016)
Signed-off-by: leo <longshuang@msn.cn>
2025-12-29 16:17:54 +08:00
leo
85ce03ef3e enhance: it's not necessary to watch the event about size and creation time changes
Signed-off-by: leo <longshuang@msn.cn>
2025-12-29 14:56:15 +08:00
leo
5ca8fd08ad refactor: do not stash untracked files while doing drop/reword/squash/fixup HEAD commit
Signed-off-by: leo <longshuang@msn.cn>
2025-12-29 14:24:50 +08:00
leo
7bed988f59 refactor: do not stash untracked changes while doing checkout/create branch/pull with Stash & Reapply (#2016)
Signed-off-by: leo <longshuang@msn.cn>
2025-12-29 12:58:16 +08:00
leo
4f062c5a71 ux: prevent group label position changing after toggle expander
Signed-off-by: leo <longshuang@msn.cn>
2025-12-29 12:03:55 +08:00
Sina Hinderks
df3acffc06 fix: extra empty lines in diff (Windows) (#2015)
When using CR/LF as newline on Windows, there were extra empty lines
shown in diffs.

Commit b84b79 fixed a regression (#1996) by keeping CRs as content of
diff lines instead of removing them.  Additionally since commit 796f88
(#1543) the output for diffs uses the default newline depending on
platform, that's CR/LF on Windows.

As consequence on Windows with files containing CR/LF as newlines the
content (ending in CR) and the default newline CR/LF resulted in CR CR
LF, which is interpreted as two line breaks instead of one.

So b84b79 introduced itself a regression that's fixed in this commit by
partially reverting commit 796f88.

This fixes #2001.
2025-12-29 10:28:34 +08:00
leo
283f84f6e6 fix: checking if current worktree file changed
Signed-off-by: leo <longshuang@msn.cn>
2025-12-26 20:43:34 +08:00
leo
a273cad23b fix: worktree file status not updated (#2011)
Signed-off-by: leo <longshuang@msn.cn>
2025-12-26 20:38:46 +08:00
leo
e30ed896e2 refactor: use git reset HEAD --pathspec-from-file=<pathspec> instead of git restore --staged --pathspec-from-file=<pathspec> to unstage files
Signed-off-by: leo <longshuang@msn.cn>
2025-12-26 16:57:42 +08:00
leo
974c30b39c ux: tooltip icon position
Signed-off-by: leo <longshuang@msn.cn>
2025-12-26 11:07:56 +08:00