leo
61bb0f7dc7
feature: show submodule's URL in tooltip ( #1307 )
2025-05-14 14:26:33 +08:00
leo
d71189c705
feature: tooltip for submodule list item ( #1307 )
2025-05-14 11:35:34 +08:00
leo
7bb4e355bd
feature: show branches count in branch tree ( #1306 )
2025-05-13 19:28:52 +08:00
leo
57d15dc6d3
fix: git submodule status
may return lines that start as U
character ( #1307 )
2025-05-13 18:11:51 +08:00
leo
ac1bd7ca85
ux: hide tag message if it's the same with its name ( #1305 )
2025-05-13 14:22:41 +08:00
leo
142ee5a327
ux: use localized text instead of hard-coded string annotated
( #1305 )
2025-05-13 13:01:15 +08:00
leo
afc8a772dd
ux: new style for tag's tooltip ( #1305 )
2025-05-13 12:26:33 +08:00
leo
4e41a6207a
enhance: display tag's name instead of nothing while showing tooltip of tag without message
2025-05-13 10:01:41 +08:00
leo
11a9d7fdd8
enhance: force using --no-sign
to ignore tag.gpgsign
configuration while creating lightweight tag
...
Signed-off-by: leo <longshuang@msn.cn>
2025-05-13 09:24:00 +08:00
leo
029fd6933f
refactor: new way to discard selected or all local changes
...
This modification aims to solve the problem that the deleted submodule cannot be discarded.
Signed-off-by: leo <longshuang@msn.cn>
2025-05-09 22:57:46 +08:00
leo
0f6c8976af
refactor: rewrite checkout/create branch with submodules
...
Signed-off-by: leo <longshuang@msn.cn>
2025-05-09 18:12:30 +08:00
leo
e446e97f28
fix: remove testing code for git checkout
command
...
Signed-off-by: leo <longshuang@msn.cn>
2025-05-09 17:22:17 +08:00
leo
3e530de9cc
enhance: update submodules individually ( #1272 )
...
Signed-off-by: leo <longshuang@msn.cn>
2025-05-09 17:12:12 +08:00
leo
ebe0e61367
feature: support to enable --squash
and --push
option while finishing git-flow branches ( #1290 )
...
Signed-off-by: leo <longshuang@msn.cn>
2025-05-09 10:47:36 +08:00
leo
e45e37d305
feature: supports sort branches by committer date ( #1192 )
...
Signed-off-by: leo <longshuang@msn.cn>
2025-05-06 18:24:34 +08:00
leo
df29edd8f0
feature: make --recurse-submdoules
an option while trying to checkout branch with submodules ( #1272 )
...
Signed-off-by: leo <longshuang@msn.cn>
2025-05-06 12:01:58 +08:00
leo
054bbf7e0c
enhance: do not override core.autocrlf
configure while reading file diff ( #1278 )
...
Signed-off-by: leo <longshuang@msn.cn>
2025-05-06 09:39:03 +08:00
leo
fe677d40c1
feature: supports search commits by change content ( #1263 )
...
Signed-off-by: leo <longshuang@msn.cn>
2025-04-30 21:05:53 +08:00
leo
9bde797b24
fix: make sure the new pattern is appended as a new line ( #1264 )
...
Signed-off-by: leo <longshuang@msn.cn>
2025-04-30 20:41:00 +08:00
leo
825b74c2a3
refactor: use String.AsSpan(int, int)
instead of String.AsSpan().Slice(int, int)
...
Signed-off-by: leo <longshuang@msn.cn>
2025-04-29 09:44:06 +08:00
leo
53a55467f1
enhance: ignore submodule changes when deal with local changes before pull/checkout/create branch ( #1256 )
...
Signed-off-by: leo <longshuang@msn.cn>
2025-04-29 09:27:09 +08:00
leo
f72f1894c3
feature: supports to enable --ignore-cr-at-eol
in diff by default
...
Signed-off-by: leo <longshuang@msn.cn>
2025-04-23 15:34:21 +08:00
leo
345ad06aba
refactor: diff for staged file with --amend
enabled ( #1231 )
...
Signed-off-by: leo <longshuang@msn.cn>
2025-04-22 19:20:27 +08:00
leo
78f4809875
fix: no changes were displayed when try to amend a commit without parent (branch first commit) ( #1231 )
...
Signed-off-by: leo <longshuang@msn.cn>
2025-04-22 19:04:40 +08:00
leo
9a6c671a96
refactor: --ignore-cr-at-eol
is not necessary when --ignore-all-space
is enabled
...
Signed-off-by: leo <longshuang@msn.cn>
2025-04-22 16:50:46 +08:00
leo
34e0ea3bcb
enhance: raise bisect error manually
...
Signed-off-by: leo <longshuang@msn.cn>
2025-04-22 16:07:23 +08:00
leo
df5294bcb7
feature: git bisect
support
...
Signed-off-by: leo <longshuang@msn.cn>
2025-04-22 15:45:15 +08:00
qiufengshe
9f18cbca5b
minimize temporary strings for better performance ( #1224 )
...
* minimize temporary strings for better performance
* minimize temporary strings for better performance
(cherry picked from commit c9e6a8d4c2d7b5fe03ee13af0a79c5334c23b1c0)
2025-04-22 10:23:20 +08:00
qiufengshe
232482ca92
minimize temporary strings for better performance ( #1215 )
...
(cherry picked from commit b4fa80c0939ca198bff8e858a4dc241efd31d558)
2025-04-21 09:44:26 +08:00
leo
75b4a4b294
enhance: record more git command logs
...
Signed-off-by: leo <longshuang@msn.cn>
2025-04-18 11:29:59 +08:00
leo
892f3b8032
code_style: move SourceGit.CommandExtensions
to SourceGit.ViewModels.CommandExtensions
...
Signed-off-by: leo <longshuang@msn.cn>
2025-04-18 10:24:20 +08:00
leo
104a3f0bbf
code_style: run dotnet format
...
Signed-off-by: leo <longshuang@msn.cn>
2025-04-17 16:35:18 +08:00
leo
8b39df32cc
feature: git command logs
...
Signed-off-by: leo <longshuang@msn.cn>
2025-04-17 13:23:56 +08:00
leo
db46de0261
enhance: append character U+26D4 to line when \ No newline at end of file
is found in git diff
output ( #1197 )
...
Signed-off-by: leo <longshuang@msn.cn>
2025-04-16 11:41:40 +08:00
leo
03216fc31e
code_style: run dotnet format
and re-order codes
...
Signed-off-by: leo <longshuang@msn.cn>
2025-04-15 16:30:50 +08:00
leo
be3f418680
fix: no diff content shows with new files ( #1193 )
...
Signed-off-by: leo <longshuang@msn.cn>
2025-04-15 11:03:34 +08:00
leo
e89dbd8f43
code_review: PR #1177
...
- use `Command.ReadToEnd` instead of `Command.Exec` to avoid git trims line endings.
- use `StringBuilder.Append('\n')` instead of `StringBuilder.AppendLine()` to restore original line endings (we split the original diff output by `\n` not `\r')
- there's no need to show file content (the `StreamReader.ReadLine()` will trim line endings)
Signed-off-by: leo <longshuang@msn.cn>
2025-04-14 16:06:52 +08:00
Massimo
81820e7034
refactor: improve diff handling for EOL changes and enhance text diff… ( #1177 )
...
* refactor: improve diff handling for EOL changes and enhance text diff display
- Updated `Diff.cs` to streamline whitespace handling in diff arguments.
- Enhanced `DiffContext.cs` to check for EOL changes when old and new hashes differ, creating a text diff if necessary.
- Added support for showing end-of-line symbols in `TextDiffView.axaml.cs` options.
* localization: update translations to include EOF handling in ignore whitespace messages
- Modified the ignore whitespace text in multiple language files to specify that EOF changes are also ignored.
- Ensured consistency across all localization files for the patch application feature.
* revert: Typo in DiffResult comment
* revert: update diff arguments to ignore CR at EOL in whitespace handling (like before changes)
* revert: update translations to remove EOF references in Text.Apply.IgnoreWS and fixed typo in Text.Diff.IgnoreWhitespace (EOF => EOL)
---------
Co-authored-by: mpagani <massimo.pagani@unitec-group.com>
2025-04-14 15:18:45 +08:00
Gadfly
17cf402c78
enhance: navigate to upstream head after fetch, pull, and merge ( #1180 )
2025-04-14 10:42:34 +08:00
leo
1799de4907
code_review: PR #1173
...
- rename c-style `file_arg` to `fileArg`
- add missing translations for zh_CN and zh_TW
- re-design conflict view and add tooltip for `USE THEIRS` and `USE MINE`
- re-order unstaged toolbar buttons
Signed-off-by: leo <longshuang@msn.cn>
2025-04-11 10:02:33 +08:00
Göran W
47824dc27a
Add button for running external mergetool on ALL conflicts ( #1173 )
...
* Make a few non-translated strings localizable (in Conflict view)
* Add button and wiring to run mergetool on all conflicts
* Corrected spelling and wording in related code and exception msg
2025-04-11 09:33:07 +08:00
leo
3b18ee0b37
code_style: remove unused code
...
Signed-off-by: leo <longshuang@msn.cn>
2025-04-08 20:20:20 +08:00
leo
7cda7211f1
refactor: statistics dialog
...
- use `%aN+%aE` instead of `%aN` to get commit author
- show user avatar in statistics dialog
Signed-off-by: leo <longshuang@msn.cn>
2025-04-07 21:20:59 +08:00
leo
8c9cf05c1d
fix: renamed files are missing in commit changes and stash changes ( #1151 )
...
Signed-off-by: leo <longshuang@msn.cn>
2025-04-07 10:14:02 +08:00
leo
56ebc182f2
enhance: try to reinstate not onl the working tree's change, but also the index's ones ( #1135 )
...
Signed-off-by: leo <longshuang@msn.cn>
2025-03-28 12:20:36 +08:00
leo
7cd5814410
enhance: better regex for output of Commands.CompareRevisions
...
Signed-off-by: leo <longshuang@msn.cn>
2025-03-20 21:18:51 +08:00
leo
38d87fa1a1
feature: use git stash show -u --name-status <stash_name>
command to query changes in selected stash if git >= 2.32.0
...
Signed-off-by: leo <longshuang@msn.cn>
2025-03-20 21:12:08 +08:00
leo
760e44877b
fix: wrong split char
...
Signed-off-by: leo <longshuang@msn.cn>
2025-03-18 12:15:00 +08:00
leo
695db2a319
code_style: run dotnet format
...
Signed-off-by: leo <longshuang@msn.cn>
2025-03-17 20:57:18 +08:00
leo
8d47bd5cd9
refactor: use --format=<format>
instead of --pretty=format:<format>
...
Signed-off-by: leo <longshuang@msn.cn>
2025-03-17 20:46:01 +08:00