Nathan Baulch
a229a19b2e
fix: discard null process output data ( #1571 )
2025-07-14 10:03:43 +08:00
Nathan Baulch
9c039215cf
fix: escape double quotes in quoted git command strings ( #1559 )
2025-07-11 15:53:42 +08:00
leo
8bdc1c5976
code_style: a few more to PR #1543
...
Signed-off-by: leo <longshuang@msn.cn >
2025-07-09 16:37:12 +08:00
Nathan Baulch
796f8898c9
code_style: general cleanup ( #1543 )
...
* code_style: general cleanup
* feedback fixes
2025-07-09 16:12:03 +08:00
leo
b2aac68600
refactor: rewrite integration for git difftool and git mergetool command
...
Signed-off-by: leo <longshuang@msn.cn >
2025-07-07 17:16:22 +08:00
Nathan Baulch
3583527026
code_style: general cleanup ( #1525 )
2025-07-05 15:58:16 +08:00
leo
40765826ce
code_review: PR #1492
...
- Remove all synchronous method in commands
- `Command.ReadToEndAsync` now is protected method
- Rename `ResultAsync` to `GetResultAsync`
- Call `ConfigureAwait(false)` when there's no context
Signed-off-by: leo <longshuang@msn.cn >
2025-07-03 17:30:06 +08:00
Nathan Baulch
463e304491
feature: async ( #1492 )
...
* Async command methods
* Async `Task.Run` where possible
* Remove redundant `Task.Run` in `Sure` methods
* Remove leftover braces and reformat
* Async event handlers as needed
2025-07-03 15:38:39 +08:00
Nathan Baulch
ec17ea9901
code_style: general cleanup ( #1497 )
2025-07-03 10:32:03 +08:00
Nathan Baulch
25afcba44b
refactor: auto dispatch notifications to UI thread in Launcher ( #1489 )
2025-07-02 13:09:30 +08:00
Nathan Baulch
1acf2a14df
code_style: general cleanup ( #1469 )
2025-06-28 10:25:56 +08:00
Nathan Baulch
ffac71b15f
code_style: general cleanup ( #1415 )
...
* code_style: general cleanup
* code_style: whitespace cleanup
2025-06-12 09:35:37 +08:00
leo
e28b75b860
enhance: include stdout in error popup when git process (in Exec mode, we do not need to parse its output) exit with non-zero code
...
Signed-off-by: leo <longshuang@msn.cn >
2025-05-23 16:12:40 +08:00
leo
3377886bab
enhance: filter hint: blocks
...
Signed-off-by: leo <longshuang@msn.cn >
2025-05-23 14:13:48 +08:00
leo
0ae39faad1
enhance: do not show hint: messages in error popup, but leave it in git command logs ( #1348 )
...
Signed-off-by: leo <longshuang@msn.cn >
2025-05-23 10:05:09 +08:00
leo
8b39df32cc
feature: git command logs
...
Signed-off-by: leo <longshuang@msn.cn >
2025-04-17 13:23:56 +08:00
leo
c3e1fb93b6
refactor: fix maxOS PATH env
...
Signed-off-by: leo <longshuang@msn.cn >
2025-03-14 10:54:09 +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
7ee7964799
ux: use trimmed error message
2024-12-19 17:38:53 +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
67b6a6d9d5
refactor: using custom PATH instead of reading it from zsh ( #581 )
...
* run `echo $PATH > ~/Library/Application\ Support/SourceGit/PATH` to generate to custom PATH file for SourceGit
2024-10-21 15:31:13 +08:00
leo
a232f50755
feature: try to read PATH from zsh
2024-10-14 16:59:20 +08:00
leo
8ddf6e87e9
enhance: set GIT_SSH_COMMAND only if it has not been provided ( #544 )
2024-10-08 16:19:03 +08:00
aikawayataro
3951549e5c
enhance: append to PATH on MacOS instead of overriding it ( #546 )
2024-10-08 16:07:50 +08:00
leo
986c27e1cb
code_style: code style of Models.CommitGraph
2024-09-29 22:44:50 +08:00
leo
9a8f4e20fb
feature: add hotkey Alt+Enter/⌥+Enter to auto stage all local changes and then commit ( #521 )
2024-09-27 22:21:56 +08:00
leo
28c59ee0ab
code_style: move the code to initialize informations to spawn git sub-process to function Models.Command.CreateGitStartInfo
2024-09-25 10:57:37 +08:00
leo
a8685f2047
refactor: rewrite the way to support HomeBrew pathes on macOS ( #507 )
2024-09-25 10:35:07 +08:00
leo
6151f4dc5f
refactor: a new way to test if this app should be launched as a SSH askpass client
2024-09-24 15:53:36 +08:00
leo
6932ce44a9
fix: new window opened on failing fetch due to missing StrictHostKeyChecking=accept-new for repo remote without private ssh key ( #485 )
2024-09-18 17:19:55 +08:00
leo
b16d267c9b
enhance: show git errors when failed to get the repository root dir of given path ( #397 )
2024-08-27 15:35:10 +08:00
leo
1e0a2ab5f7
enhance: add -o StrictHostKeyChecking=accept-new option to ssh command
2024-07-22 11:33:34 +08:00
leo
f4eca45754
code_style: remove all IDE warnings
2024-07-15 00:30:31 +08:00
leo
4e13703b9d
fix: should not set DISPLAY env on Linux platform
2024-07-10 11:57:02 +08:00
leo
ca461d1926
fix: SSH_ASKPASS can NOT use parameter
2024-07-10 10:47:43 +08:00
leo
446445ee73
refactor: base command
2024-07-09 18:13:15 +08:00
leo
9db050e8c2
fix: commit stucks when using SSH formatted GPG signing with a key contains non-empty passphrase
2024-07-09 17:56:23 +08:00
leo
6930b51c64
refactor: commandline parsing
...
* `--rebase-todo-editor` launches this app as a git `sequence.editor`
* `--rebase-message-editor` launches this app as a git `core.editor` which runs on background by reading rebasing jobs
* `--core-editor` launches this app as a git `core.editor`
* `--askpass` launches this app as a SSH askpass program
2024-07-09 12:20:52 +08:00
leo
cbe4c36525
feature: support git.core.askpass ( #239 )
2024-07-08 22:07:00 +08:00
leo
7070a07e15
feature: simple interactive rebase support ( #188 )
...
* Only allow to start interactive rebase from merged commit in current branch
* The order of commits in the interactive rebase window is as same as it's in histories page.
* Unlike anthor git frontend app `Fork`, you should edit the final message on the last commit rather than the previous commit that will be meld into while squashing commits
2024-06-20 17:02:12 +08:00
leo
111bf2966a
refactor: rewrite external editor supports
...
* supported editors can be different on different platforms.
* display founded editors only
2024-04-06 13:14:22 +08:00
leo
96d4150d26
project: reorganize the structure of the project.
...
* remove dotnet-tool.json because the project does not rely on any dotnet tools.
* remove Directory.Build.props because the solution has only one project.
* move src/SourceGit to src. It's not needed to put all sources into a subfolder of src since there's only one project.
2024-04-02 20:00:33 +08:00
Enner Pérez
a1a14f8858
Project Location
2024-03-20 02:38:28 -05:00
leo
1c14f5ea88
linux: force using en_US.UTF-8 locale to avoid GCM crash
2024-03-19 15:43:47 +08:00
leo
18aaa0a143
style: add .editorconfig for code formatting. see issu #25
2024-03-18 09:37:06 +08:00
Enner Pérez
c0a079de41
Source Generated Regex
2024-03-16 04:09:27 -05:00