leo
bb2284c4c9
refactor: re-write commit searching (part 3)
...
Signed-off-by: leo <longshuang@msn.cn>
2025-03-12 11:53:24 +08:00
leo
231f3bf668
enhance: use --ancestry-path=<commit_oid>
to reduce unnecessary outpus while querying children commits
...
Signed-off-by: leo <longshuang@msn.cn>
2025-03-12 10:11:00 +08:00
leo
91c5c96afc
fix: accessing dummy
in multi-threads throws exception
...
Signed-off-by: leo <longshuang@msn.cn>
2025-03-11 20:05:34 +08:00
leo
471452646b
refactor: use System.Threading.CancellationToken
instead of SourceGit.Commands.Command.CancelToken
to cancel fetching information of selected commit
...
Signed-off-by: leo <longshuang@msn.cn>
2025-03-11 16:53:51 +08:00
leo
0f9087fac6
code_review: PR #1078
...
- Remove `ForceEnglishLocale` because we want all `git` outputs in English
- Remove locale settings for `ExecuteCustomAction`
Signed-off-by: leo <longshuang@msn.cn>
2025-03-10 20:08:42 +08:00
Gadfly
860f52153b
fix: Force English locale in branch query command. ( #1078 )
2025-03-10 20:05:37 +08:00
leo
2b2f070c4a
enhance: use --no-optional-locks
parameter for git status
command
...
Signed-off-by: leo <longshuang@msn.cn>
2025-03-10 18:29:11 +08:00
leo
df6cbcaa28
fix: app crashed after enable Show children in the commit details
( #1072 )
...
Signed-off-by: leo <longshuang@msn.cn>
2025-03-10 11:33:38 +08:00
leo
ca6d41ee60
enhance: try to get stopped at revision info from .git/rebase-merge/head
...
Signed-off-by: leo <longshuang@msn.cn>
2025-03-07 11:39:15 +08:00
leo
78c0d8d334
fix: both --tags
and --no-tags
are used in git pull
command
...
Signed-off-by: leo <longshuang@msn.cn>
2025-03-06 10:37:50 +08:00
leo
b75676a7f8
refactor: commit message
...
- move issue tracker and commit hash links parsing to view models
- parsing links async
- make sure matched hash is a valid commit oid
- disable `CHILDREN` row in submodule info panel
Signed-off-by: leo <longshuang@msn.cn>
2025-03-04 16:04:19 +08:00
GadflyFang
7f8372f6b5
enhance: Handle file mode changes for new/deleted file ( #1040 )
2025-03-03 10:38:58 +08:00
leo
bdf439a742
enhance: do not show error message if it is empty
...
Signed-off-by: leo <longshuang@msn.cn>
2025-02-26 16:33:11 +08:00
leo
1d037c7c57
feature: add context menu Save As Patch...
for selected stash ( #1018 )
...
Signed-off-by: leo <longshuang@msn.cn>
2025-02-24 21:24:53 +08:00
leo
2b4fc64c73
fix: resolve conflict with deleted files does not work ( #1009 )
...
Signed-off-by: leo <longshuang@msn.cn>
2025-02-21 10:26:14 +08:00
leo
53f591bdad
ux: add a warning icon when the tracking upstream of a local branch is gone ( #1006 )
...
Co-authored-by: Davide Tentori <dtentori@softeam.it>
2025-02-20 10:14:25 +08:00
leo
c3eca0d7fd
refactor: OpenAI integration ( #996 )
...
- Add `OpenAIResponse` to trim the `<think>...</think>` block
- Add an `Enable Streaming` option to fix the issue that some services do not support streaming output
Signed-off-by: leo <longshuang@msn.cn>
2025-02-19 18:01:16 +08:00
Dmitrij D. Czarkoff
588879eb7f
feat: change worktree presentation ( #978 )
...
Present the worktree name first, then relative path to the main repo.
This is more aligned with Git's own UI, and works better with UI size constrains.
2025-02-13 10:41:08 +08:00
leo
af20ab2448
feature: add Wait for action done
option to control whether or not to wait for the custom action execution to complete ( #951 )
...
Signed-off-by: leo <longshuang@msn.cn>
2025-02-11 14:34:14 +08:00
GadflyFang
ef2e0a8a56
fix: Ignore the Chain-of-Thought in AI response ( #952 )
...
- Improve chat response processing to handle thinking patterns using regular expressions.
- Migrate server value by removing trailing '/chat/completions' path.
2025-02-08 17:30:27 +08:00
leo
2495911bd8
code_style: run dotnet format
...
Signed-off-by: leo <longshuang@msn.cn>
2025-02-08 12:08:06 +08:00
leo
a915708db3
refactor: rewrite OpenAI integration
...
- use `OpenAI` and `Azure.AI.OpenAI`
- use `developer` role instead of `system` for OpenAI's `o1` series models
- use streaming response
- re-design `AIAssistant`
Signed-off-by: leo <longshuang@msn.cn>
2025-02-08 10:03:11 +08:00
leo
7089f29b85
refactor: re-implement git stash apply
...
* supports `--index` option
* add an option to drop selected stash after applying
* remove `Pop` context menu for stash
Signed-off-by: leo <longshuang@msn.cn>
2025-02-06 16:33:55 +08:00
leo
38a8490d16
code_review: PR #946
...
Signed-off-by: leo <longshuang@msn.cn>
2025-02-06 13:07:58 +08:00
GadflyFang
9aba737d9e
feat: support compare both revision in FileHistories ( #786 ) ( #946 )
2025-02-06 11:33:55 +08:00
GadflyFang
3ca4dc488c
feat: Add stash auto-restore functionality ( #947 ) ( #948 )
2025-02-06 10:31:46 +08:00
GadflyFang
3af6012561
refactor: Update submodules individually to avoid failures ( #925 ) ( #936 )
...
* refactor: Update submodules individually to avoid failures (#925 )
- Remove `--recurse-submodules` flag from the clone command to simplify the cloning process.
- Refactor submodule update logic to handle updating all submodules in a loop and improve progress description handling.
* fix: Parse submodule list even if submodule status fails (#935 )
2025-02-06 10:08:12 +08:00
GadflyFang
4f41f44a9f
fix: add --include-untracked
to stash push
for specific changes ( #931 )
2025-02-06 09:51:03 +08:00
leo
fa07bb5b5a
refactor: move per-repository config Enable --prune on fetch
to global git config fetch.prune
( #908 )
...
Signed-off-by: leo <longshuang@msn.cn>
2025-01-25 12:06:48 +08:00
leo
e242119a03
fix: searching by Author & Committer
does not work when the committer is different with author
2025-01-23 16:11:07 +08:00
GadflyFang
6482ef227a
fix: prevent target branch HEAD from being changed when adding worktree ( #919 )
...
* fix: prevent target branch HEAD from being changed when adding worktree
Signed-off-by: Gadfly <gadfly@gadfly.vip>
* fix: worktree path validator trigger error
Signed-off-by: Gadfly <gadfly@gadfly.vip>
---------
Signed-off-by: Gadfly <gadfly@gadfly.vip>
2025-01-21 13:58:07 +08:00
leo
6f407fb086
enhance: enable --index
option in git stash pop
command by default ( #903 )
2025-01-14 18:07:55 +08:00
leo
cc5f3ebfa5
refactor: do not run git add
for untracked file while stashing local changes ( #903 )
2025-01-14 17:10:06 +08:00
Mat
011f5258ad
fix: LFS locks do not show if user name contains .
character ( #902 )
2025-01-14 10:18:56 +08:00
leo
6e6cd7a7f3
enhance: do not show Initialize Repository
popup for bare repositories ( #891 )
2025-01-13 10:25:58 +08:00
leo
b26838ff68
refactor: git version related commands
...
* use `--pathspec-from-file=<FILE>` in `git add` command if git >= 2.25.0
* use `--pathspec-from-file=<FILE>` in `git stash push` command if git >= 2.26.0
* use `--staged` in `git stash push` command only if git >= 2.35.0
2025-01-11 17:29:38 +08:00
leo
08a128cd87
feature: add a button to switch tag sort method (creatordate/name asc/name des) ( #865 )
2025-01-06 16:16:27 +08:00
leo
a6420aff9b
fix: crash if the executable file can not be found
2024-12-31 09:38:46 +08:00
leo
7d0fa3b86d
Revert "feature: ignore remote.{REMOTE}.mirror
settings ( #844 )"
...
This reverts commit 093176d10b
.
2024-12-30 17:34:58 +08:00
leo
c058b4744b
feature: allows to change DateTime
format ( #755 )
2024-12-30 17:19:55 +08:00
leo
093176d10b
feature: ignore remote.{REMOTE}.mirror
settings ( #844 )
...
(cherry picked from commit 9164f1b7340f68e00fea99bf9bac67734062f930)
2024-12-30 14:54:04 +08:00
leo
7ee7964799
ux: use trimmed error message
2024-12-19 17:38:53 +08:00
leo
37bf6dec5e
feature: remember --reflog
, --first-parent
, --topo-order
and --date-order
toggle states
2024-12-18 19:49:08 +08:00
leo
a899de2b98
enhance: ignore refs/*/HEAD
when query refs those contains given commit
2024-12-18 17:50:19 +08:00
leo
751991c816
refactor: rewrite the way reading full message of commit
2024-12-13 11:00:03 +08:00
leo
a99bd2e973
enhance: only dispatch error message if it contains valid data
2024-12-13 10:43:39 +08:00
leo
02658839c2
enhance: notification popup
2024-12-13 10:08:26 +08:00
leo
6eb226eb44
fix: wrong whitespace at start of the last commit message while interactive rebasing ( #790 )
2024-12-12 20:01:10 +08:00
leo
59f11e9aca
fix: original FullMessage
missing line-endings ( #790 )
2024-12-12 19:38:02 +08:00
leo
ef40e4b738
enhance: show source branch/tag/commit in banner while merging request in progress
2024-12-10 15:17:54 +08:00