Commit graph

52 commits

Author SHA1 Message Date
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
leo
353557ec10 fix<Native>: fix wrong file filter on macOS platform. 2024-02-21 11:29:46 +08:00
leo
2a62596999 refactor<*>: rewrite all with AvaloniaUI 2024-02-06 15:08:37 +08:00
leo
838e688a0c refactor<Exception>: add context to exception to filter exceptions; each page has it's own error display control 2023-10-13 11:16:03 +08:00
leo
918eb48663 optimize<*>: reduce repository loading time 2023-10-12 12:02:41 +08:00
leo
766f24f4b0 optimize<User>: reduce memory used by commit's author/committer data 2023-10-10 11:25:57 +08:00
leo
1c10d9a286 optimize<SSH>: using core.sshCommand instead of environment parameter GIT_SSH_COMMAND 2023-08-23 20:45:12 +08:00
leo
5d71e54547 upgrade<Project>: retargets to .net framework 4.8 2022-10-26 10:32:42 +08:00
leo
8520786b7e optimize<Popup>: remove popup from welcome page 2022-10-19 15:20:58 +08:00
leo
338f91357e optimize<*>: remove deprecated apis (older than .NET 6) 2022-05-20 16:00:25 +08:00
leo
48020861ee optimize<Command>: each process has its own envs 2021-10-12 17:26:39 +08:00
leo
2cf7192ec4 cleanup<*>: run vs code cleanup to format codestyle and remove unused references 2021-08-05 15:54:00 +08:00
leo
8894705321 fix<Command>: fix crash reported by https://gitee.com/sourcegit/sourcegit/issues/I43UH1 2021-08-04 19:21:27 +08:00
leo
208af69ea1 style<Exceptions>: limit max height of error message 2021-07-14 12:43:53 +08:00
leo
e7a7c0518e fix<Command>: fix crash when cancel a process that already 2021-07-13 15:35:18 +08:00
leo
11420ee5b4 feature<MergeTool>: supports to use WinMerge as git.mergetool 2021-05-28 20:49:43 +08:00