leo
1fef7a7baa
perf: only update uninited or outdated submodules
...
Signed-off-by: leo <longshuang@msn.cn >
2025-05-21 17:51:00 +08:00
leo
09d0122e26
refactor: rewrite git pull command
...
If we do not provide pulling remote branch, it will auto fetch all branches first.
Signed-off-by: leo <longshuang@msn.cn >
2025-05-21 17:18:25 +08:00
leo
438aa76695
feature: support to use relative path as submodule's url when adding new submodule ( #1339 )
...
Signed-off-by: leo <longshuang@msn.cn >
2025-05-21 00:10:10 +08:00
leo
3386cb177b
refactor: rewrite git flow init
...
Signed-off-by: leo <longshuang@msn.cn >
2025-05-20 21:26:41 +08:00
leo
4d5be9f280
refactor: rewrite git-flow integration
...
Signed-off-by: leo <longshuang@msn.cn >
2025-05-20 21:08:00 +08:00
leo
f9b6116a76
feature: supports reset branch to selected commit without checkout ( #1247 ) ( #1318 )
...
Signed-off-by: leo <longshuang@msn.cn >
2025-05-20 12:24:07 +08:00
leo
119b0fe95c
feature: log output of custom action if Wait for action exit enabled ( #1334 )
...
Signed-off-by: leo <longshuang@msn.cn >
2025-05-20 09:17:00 +08:00
Gadfly
879b84ac20
enhance: Show the stderr content from QueryLocalChanges ( #1327 )
2025-05-17 07:58:47 +08:00
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