Commit graph

277 commits

Author SHA1 Message Date
leo
06fd49ba92
feature: support --signoff for git commit command (#591)
Signed-off-by: leo <longshuang@msn.cn>
2024-10-23 09:46:27 +08:00
leo
b9d7f908c9
refactor: do NOT use the --prune parameter for git fetch command (#590)
Some checks are pending
Continuous Integration / Build (push) Waiting to run
Continuous Integration / Prepare version string (push) Waiting to run
Continuous Integration / Package (push) Blocked by required conditions
2024-10-22 16:54:21 +08:00
leo
077e35b860
code_style: allowEmpty is not needed any more 2024-10-22 15:01:20 +08:00
leo
3b1a54dffd
refactor: use git update-ref $LOCAL_BRANCH $REMOTE_BRANCH instead of git fetch $REMOTE $LOCAL_BRANCH $REMOTE_BRANCH to fast-forward local branch without checkout it first. 2024-10-21 16:20:34 +08:00
Dmitrij D. Czarkoff
bb6ceb03b9
fix: Display all parents even if there are more then 2 (#583) 2024-10-21 15:38:30 +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
45869c27b8
enhance: ignore untracked files when staging all changes with INCLUDE UNTRACKED FILES turned off (#577) 2024-10-20 18:32:05 +08:00
leo
3da52208ba
enhance: force enable --patch option
Some checks are pending
Continuous Integration / Build (push) Waiting to run
Continuous Integration / Prepare version string (push) Waiting to run
Continuous Integration / Package (push) Blocked by required conditions
2024-10-17 19:20:14 +08:00
leo
fa2eb0cd26
enhance: use --prune=now instead of --prune for git gc command 2024-10-17 15:50:42 +08:00
leo
f6e0b0b1c0
feature: hover on tag view shows the message of it (#567) 2024-10-17 14:57:05 +08:00
leo
b6468e310b
code_style: rewrite Commands.QueryTags.ParseLine 2024-10-15 16:41:25 +08:00
leo
5bad969bb7
refactor: use '\0' instead of '$' to split fields 2024-10-15 16:26:44 +08:00
leo
ccdc849baa
code_style: run dotnet format 2024-10-15 09:39:01 +08:00
leo
a232f50755
feature: try to read PATH from zsh 2024-10-14 16:59:20 +08:00
leo
5fef6e93b9
enhance: cherry-pick (#563)
* supports to cherry-pick a merge commit
* add option to enable the `-x` parameter
2024-10-14 15:20:02 +08:00
leo
c2b17ef9d0
fix: changing the repository URL only changes the fetch URL if push URL using a different URL (#553) 2024-10-11 10:03:42 +08:00
leo
4d14302929
refactor: remove scope parameter while getting git configuration (#544) 2024-10-09 14:20:43 +08:00
leo
249706c1ef
fix: turn off GPG Signing when create a new tag does not work if tag.gpgsign is enabled 2024-10-09 11:55:24 +08:00
leo
8ddf6e87e9
enhance: set GIT_SSH_COMMAND only if it has not been provided (#544)
Some checks are pending
Continuous Integration / Build (push) Waiting to run
Continuous Integration / Prepare version string (push) Waiting to run
Continuous Integration / Package (push) Blocked by required conditions
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
af099af4d0
refactor: stash selected changes in staged group will apply --staged paramter for git stash push (#535) 2024-10-03 18:28:01 +08:00
leo
4e57cd50cd
feature: add an option to clean up ignored files when discard all changes in repo (#531)
Some checks are pending
Continuous Integration / Build (push) Waiting to run
Continuous Integration / Prepare version string (push) Waiting to run
Continuous Integration / Package (push) Blocked by required conditions
2024-10-02 21:46:48 +08:00
leo
2d24244ee2
enhance: auto-update submodules if possible after checking out a branch (#531)
* add `--recurse-submodules` to checkout branch command
* remove unused method `Commands.Checkout.Files`
* code style
2024-10-01 22:10:10 +08:00
leo
d2a005c532
feature: add a button in diff view to ignore all whitespace changes (--ignore-all-space)
Some checks are pending
Continuous Integration / Build (push) Waiting to run
Continuous Integration / Prepare version string (push) Waiting to run
Continuous Integration / Package (push) Blocked by required conditions
2024-09-30 11:34:09 +08:00
leo
f2f8a64b84
refactor: read git output once time instead of line-by-line 2024-09-30 09:27:15 +08:00
leo
986c27e1cb
code_style: code style of Models.CommitGraph
Some checks are pending
Continuous Integration / Build (push) Waiting to run
Continuous Integration / Prepare version string (push) Waiting to run
Continuous Integration / Package (push) Blocked by required conditions
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
130c98ad40
feature: supports search commit only in current branch 2024-09-27 11:17:02 +08:00
leo
1ba294a07b
refactor: move auto-fetch from global preference to repository settings
Some checks are pending
Continuous Integration / Build (push) Waiting to run
Continuous Integration / Prepare version string (push) Waiting to run
Continuous Integration / Package (push) Blocked by required conditions
2024-09-26 10:50:21 +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)
Some checks are pending
Continuous Integration / Build (push) Waiting to run
Continuous Integration / Prepare version string (push) Waiting to run
Continuous Integration / Package (push) Blocked by required conditions
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
94a8139578
enhance: increase the number of commits to analyze in OVERVIEW tab to 40K 2024-09-24 10:00:31 +08:00
Jens Fischer
49d5b679fc Respect .mailmap files in statistics
see https://git-scm.com/docs/gitmailmap
2024-09-23 16:28:07 +02:00
leo
af57c56cd7
feature: enhanced statistics panel (#493)
* replace the `YEAR` tab with `OVERVIEW` tab, which will analyze most recent 20K commits
* use `LiveChartsCore.SkiaSharpView.Avalonia` instead of a custom chart view
2024-09-23 21:45:44 +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
fb0120d338
refactor: terminal/shell integration (#471) 2024-09-14 12:09:50 +08:00
leo
886b242b66
enhance: added cancellation logic to the OpenAI chat response API call. 2024-09-13 14:25:38 +08:00
leo
16f8e2fd0b
feature: simple implementation for generating commit message by OpenAI (#456) 2024-09-12 09:42:47 +08:00
Yitzchak Ben-Ezra
8c9e8e5dbc Reset to Parent Revision
* support reset to parent revision for Added files too
* support reset to parent revision in Files tab
* support reset to parent revision in Changes - now supports Renamings too

now it behaves more like git-extensions
2024-08-30 15:42:24 +03:00
leo
3d57398d15
refactor: show statistics data by authors intead of committers 2024-08-28 18:38:29 +08:00
leo
83b802e357
refactor: collect the commits for the most recent year instead of just the current year (#414) 2024-08-28 18:16:57 +08:00
leo
c90abd0ca2
refactor: commit search
* no longer depends on the commits displayed in histories view
* limit the number of commits returned by all search methods to a maximum of 1000
2024-08-28 16:56:43 +08:00
leo
ce2340456e
feature: cherry-pick multiple commits (#418) 2024-08-28 11:26:00 +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
e136d05789
enhance: using -- <pathspec>... instead of --pathspec-from-file=<file> (#404) 2024-08-24 20:58:35 +08:00
leo
1caf02ff06
code_style: remove unused namespace using and run dotnet format 2024-08-23 22:26:17 +08:00
leo
6ab0900b20
feature: add a button to see which branches and tags that contains selected commit (#388) 2024-08-23 16:52:55 +08:00
leo
8b469e7778
enhance: show untracked submodules in unstaged (#393) 2024-08-22 14:10:32 +08:00
leo
d4a9343eaf
feature: add an option to enable --recurse-submodules=check on push (#345) 2024-08-20 15:20:58 +08:00
leo
84b8735d6c
code_style: run dotnet format 2024-08-18 23:14:44 +08:00
leo
7fe1df20cc
refactor: delay starting background tasks
* start background task only it is needed
* solve the problem that we can not use `ViewModels.Preference.Instance` until resource ready
* remove avatar sever settings
2024-08-18 23:10:54 +08:00
leo
2ffc1b7178
enhance: manually stage all changes instead of using --all parameter in git commit 2024-08-15 20:09:38 +08:00
leo
e05264e35d
fix: can not create branch when detached head has extra commits (#344) 2024-08-09 16:59:48 +08:00
leo
ed2d3279e1
enhance: create branch on detached HEAD (#344) 2024-08-09 16:06:28 +08:00
leo
71d2b295da
refactor: combine Commands.UpdateSubmoduleStatus into Commands.QuerySubmodules 2024-08-09 09:41:24 +08:00
leo
1fe2be11a7
refactor: rewrite submodule to support IsDirty state (#339) 2024-08-08 21:11:10 +08:00
leo
3bcf4e128e
enhance: get count of changed file (without untracked) directly (#316) 2024-08-07 15:52:58 +08:00
leo
eb437df9fe
enhance: reduce commits loading time for interactive rebase 2024-08-01 18:05:58 +08:00
Gadfly
2a09ae64a4
fix: support revert merge commit 2024-08-01 10:02:09 +08:00
leo
ec6fe25e87
code_style: run dotnet format 2024-07-31 16:26:58 +08:00
leo
f55a576013
refactor: rewrite amend behaviour (#300)
* toggle amend will show changes in HEAD commit
* since discard is not compatible with staged changes in `amend` mode, we only allows user to discard unstaged changes
2024-07-31 12:04:52 +08:00
leo
3c5a661fa0
feature: supports type change 2024-07-30 21:32:23 +08:00
leo
7f8b8a19a0
feature: add auto complete box for searching commits by file path 2024-07-30 15:59:54 +08:00
leo
7bfb684bde
refactor: update submodule (#287) 2024-07-26 18:49:07 +08:00
leo
efe6d743cf
enhance: allow to compile with dotnet 8.0.106 (#281) 2024-07-24 19:07:31 +08:00
leo
8e60ec619e
fix: %(refname:short) sometimes return a wrong tag name that contains the prefix tags/ 2024-07-24 18:52:12 +08:00
leo
1583b08892
code_review: PR (#280)
* tooltip for swap button
* move `Views.CompareTargetWorktree` to `Models.CompareTargetWorktree`
* remove unused `Models.IObjectId`
* fix swap not working when target is Worktree, because Commands.CompareRevisions's Args do not changed after swapping
2024-07-23 19:26:04 +08:00
leo
183cb8a658
enhance: supports checking updates with hotfix version 2024-07-23 14:36:27 +08:00
leo
40d5a7c7f3
code_style: run dotnet format to apply rules 2024-07-23 13:58:57 +08:00
leo
888bf54303
code_style: remove unused code 2024-07-22 16:41:35 +08:00
leo
b972bfd5f1
fix: missing empty check for %(upstream:trackshort) (#273) 2024-07-22 16:01:26 +08:00
leo
1e0a2ab5f7
enhance: add -o StrictHostKeyChecking=accept-new option to ssh command 2024-07-22 11:33:34 +08:00
leo
f0649c95b5
feature: add an indicator that shows those commits the current branch ahead/behind its upstream 2024-07-19 09:29:16 +08:00
leo
d09866e2c3
enhance: commit search (#268)
* add `-i` parameter to ignore case while searching commit message
* add `--branches --remotes` to search commits from all branches
2024-07-17 20:54:09 +08:00
leo
b7e0e38de3
feature: stage/unstage hunk (#265) 2024-07-17 16:56:16 +08:00
leo
b9ed0987eb
enhance: gc will use --prune argument 2024-07-16 18:04:16 +08:00
leo
8e7bfc43e0
enhance: search commits by message (#256) 2024-07-15 10:17:26 +08:00
leo
f4eca45754
code_style: remove all IDE warnings 2024-07-15 00:30:31 +08:00
leo
a807aa9e12
code_style: remove all IDE warnings 2024-07-14 15:55:15 +08:00
leo
e5462f0086
code_style: run dotnet format to apply code style rules 2024-07-10 12:12:14 +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
dda1e79c6f
code_style: remove unused namespace using 2024-07-09 17:58:17 +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
09b418374a feature: add an option to enable -a,--all in commit command (#244) 2024-07-07 10:28:14 +08:00
leo
57a2144777
fix: try to fix the timezone issue (#229) 2024-07-02 12:30:12 +08:00
leo
6dad466eef
feature: supports --no-tags on fetch and pull operation (#226) 2024-07-01 16:19:29 +08:00
leo
0da30b6b89
enhance: better LFS file detect method 2024-07-01 13:30:57 +08:00
leo
3e54ab0227
enhance: makes Create New Branch option as the default selected mode for adding new worktree 2024-06-28 14:11:13 +08:00
leo
8dfe882455
enhance: use -B instead of -b to support creating worktree with existed branch (#205) 2024-06-28 09:38:11 +08:00
leo
fa2c7c0e18
enhance: simpfy the way to lock a worktree 2024-06-27 19:19:21 +08:00
leo
8a8aabede3
feature: add worktree support (#205) 2024-06-27 18:25:16 +08:00
leo
d2e3b683f1
code_style: make geometry icon resources list in order 2024-06-26 15:51:49 +08:00
leo
0c21bcd06a
enhance: Git LFS supports (#209)
* add a new context menu to push local LFS object to selected remote
* supports to choose remote for fetch/pull/push/lock/unlock actions
* auto select remote if there's only one remote
2024-06-26 11:50:22 +08:00
leo
dca8f8b39b
feature: warn when commit subject line goes beyond a certain number of characters (#201) 2024-06-23 15:45:54 +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