Commit graph

230 commits

Author SHA1 Message Date
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
leo
86226d5484
fix: tag.gpgsign setting not updated 2024-06-19 10:21:36 +08:00
leo
c56d0cf85e
refactor: external diff merge tool - supports to use difftool/mergetool settings from git config directly (#181) 2024-06-18 12:10:38 +08:00
leo
9a0b10bd9c
enhance: Git LFS support 2024-06-17 18:25:57 +08:00
leo
89f9eb3d90 feature: add pattern to .gitignore by unstaged changes' context menu 2024-06-16 19:42:12 +08:00
leo
6de92bb4d8
refactor: git-flow supports. 2024-06-15 12:44:35 +08:00
leo
9d3f186b44
code_style: run dotnet format 2024-06-14 09:46:30 +08:00
leo
7f2e22def6
feature: supports branch compare (#174) 2024-06-11 15:30:06 +08:00
leo
8bcce5f723
fix: missing subject for the last commit (oldest in commit graph) 2024-06-11 11:08:20 +08:00
leo
4ec93b9d75 enhance: remove nextPartIdx bound check 2024-06-08 14:45:18 +08:00
leo
9e45a8a77d enhance: only store subject in commits.
It has several advantages:

* reduce the memory costed by histories
* higher performance while parsing commits
* no need to calculate subject every time, which is invoked most frequently to render histories
2024-06-08 12:19:48 +08:00
leo
bacc1c85ad
enhance: reduce memory usage by commit detail view 2024-06-07 17:29:55 +08:00
leo
78c7168a46
enhance: make commit's subject the same with pretty print parameter %s in git log command 2024-06-07 12:31:10 +08:00
leo
b4e01a8b93
refactor: commits only hold the end position of subject in body 2024-06-06 20:59:09 +08:00
leo
064d04fccc
enhance: improve QueryCommits performance 2024-06-06 20:25:16 +08:00
leo
4610f702b3
code_style: run dotnet format 2024-06-06 15:31:02 +08:00
leo
ce9a3dad2f
enhance: improve commit and stash parsing time 2024-06-05 11:46:31 +08:00
leo
d0edc09b2e refactor: add a popup panel to show submodule updating status 2024-06-04 11:36:00 +08:00
leo
5886997389 enhance: QuerySingleCommit supports X.509 and SSH gpg signing formats 2024-06-04 10:27:52 +08:00
leo
8ae864a14d enhance: better support for signed commits (#154) 2024-05-30 15:18:26 +08:00
leo
4249653ed6 feature: add context menu for both branch and commit to compare selected with current HEAD 2024-05-27 17:21:28 +08:00
leo
1040bbe4d2 feature: add buttons to increase/decrease visible lines in text diff view (#145) 2024-05-27 10:29:15 +08:00
leo
66f2aab6a7 code_review: review for PR (#147)
* code style
* localizations for zh_CN
2024-05-26 14:25:21 +08:00
Filipe Ramalho
db9ca5ba25
Merge branch 'develop' into feature/allowing_to_checkout_commit 2024-05-25 15:43:27 -03:00
Filipe Ramalho
b0c00340a8 Making local detached branch HEAD as the first item below folders 2024-05-25 15:09:40 -03:00
Filipe Ramalho
4750ad0d07 Adding HEAD decorator markup in the Graph 2024-05-25 15:05:32 -03:00
Filipe Ramalho
8aeb7ed17c Adding command to checkout commit 2024-05-25 14:27:42 -03:00
leo
b556feb3d3 enhance: tag creation & pushing (#141)
* supports creating lightweight tags
* supports GPG signed tags
* add option to push selected tag to all remotes
2024-05-24 10:31:20 +08:00
leo
8fea9fecfb refactor: implementation to delete branches 2024-05-21 09:58:31 +08:00
Gadfly
7520a2a7b6 feat: Add config of auto fetch interval 2024-05-11 17:37:54 +08:00
leo
a5150edee0 code_style: rename platform_finder to platformFinder and run dotnet format to apply code style rules 2024-04-29 17:55:38 +08:00
leo
84568e573a feature: test if conflicts have been resolved manually (#96) 2024-04-29 10:54:41 +08:00
leo
8378f018b1 enhance: use restore instead of reset to discard changes (#76) 2024-04-17 20:06:09 +08:00
leo
ab26bb83e9 refactor: re-design toolbar of Views.DiffView 2024-04-14 12:27:09 +08:00
leo
7b5534a267 code_style: run dotnet format to apply rules defined in .editorconfig 2024-04-13 19:24:45 +08:00
Gadfly
a249eed1ac
feat: show git file mode change if exist 2024-04-12 21:38:36 +08:00
leo
f3f39ac593 feature: supports resolving multiple conflicts at once. 2024-04-11 20:50:19 +08:00
leo
8ab7370409 enhance: use --force to override local refs if it is mismatched with remote's 2024-04-10 11:52:28 +08:00
leo
b8da3e9afd enhance: use diff command instead of show command to get changes of selected commit. (#56)
* for merge commit, it will shows all changes compare to the first parent of the selected commit now.
2024-04-09 16:02:42 +08:00
leo
8adf11b64c fix: crash when create image from a empty stream 2024-04-08 10:24:28 +08:00
leo
8dd1ce9185 refactor: rewrite Commands.QueryFileContent and use it instead of GetImageFileAsBitmap 2024-04-08 09:57:41 +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
f6eb1281b5 enhance: force using StringComparison.Ordinal 2024-03-14 11:09:05 +08:00
leo
cd2ecb109a enhance: diff with LFS filtered files 2024-03-14 10:55:25 +08:00
leo
ef26f5b41c fix: bad arguments to query git version 2024-03-09 11:04:03 +08:00
leo
61e1491854 style: remove popup's border on non-linux platforms 2024-03-08 17:41:10 +08:00
leo
c14b7ebbe1 optimize: only parse track status for local branch 2024-03-08 17:16:54 +08:00
leo
f7e8cf1311 refactor: use rev-list --left-right --count to query track status with upstream (when using some linux with other locales instead of English, upstream:track will output status with localized word instead of 'ahead'/'behind') 2024-03-08 16:32:44 +08:00
leo
59b7fd8c61 optimize: better supports for LFS object 2024-03-07 17:04:57 +08:00
leo
59052d8e1f style<Blame>: rewrite MeasureOverride to fit content with for CommitInfoMargin; always show commit info for the first visual line 2024-03-01 15:09:17 +08:00
leo
1c005983c7 fix<Discard>: wrong discard behavior with changes both in worktree and staged 2024-03-01 11:34:32 +08:00
leo
096fd6cb22 feature<TextDiffView>: supports discard changes from staged directly 2024-02-29 10:59:59 +08:00
leo
671e46f8b3 feature<TextDiffView>: supports line staging/unstaging in working copy diff view 2024-02-28 14:55:11 +08:00
leo
9c3294c285 optimize<*>: App.RaiseException should be called in UIThread; add default progress description for popups; 2024-02-26 11:29:57 +08:00
leo
68ddeb4cc5 refactor<Statistics>: use committer instead of author 2024-02-25 11:32:15 +08:00
leo
e070b79d2c feature<Statistics>: finish statistiscs 2024-02-23 19:16:28 +08:00
leo
faffba09c8 fix<Submodules>: compatible with un-inited submodule 2024-02-21 12:26:09 +08:00
leo
353557ec10 fix<Native>: fix wrong file filter on macOS platform. 2024-02-21 11:29:46 +08:00
leo
d895beb3f4 optimize<AutoFetch>: reduce CPU usage 2024-02-19 17:40:36 +08:00
leo
05c9d9be5b feature<AutoFetch>: finish auto fetch remotes 2024-02-18 16:26:07 +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
ccb3c07064 fix<Stash>: fix stash failed when there's too many files to be stashed 2023-10-10 16:59:47 +08:00
leo
766f24f4b0 optimize<User>: reduce memory used by commit's author/committer data 2023-10-10 11:25:57 +08:00
leo
24957b8c86 style<Blame>: redesign style for blame 2023-08-25 18:15:26 +08:00
leo
f13b1ee9fe feature<AssumeUnchanged>: supports update-index --[no]-assume-unchanged 2023-08-24 19:05:38 +08:00
leo
a1bfbfe02e refactor<Blame>: new blame tool 2023-08-24 13:39:49 +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
dfc452b2a6 update<Credential>: using manager instead of manager-core for credential.helper 2023-08-23 14:05:19 +08:00
leo
7e1b1d7324 feature<FileHistory>: add button to use selected revision of file 2023-08-18 14:13:32 +08:00
leo
9d6ac9c449 feature<Fast-Forward>: allow fast-forward on local branch that not checked out. 2023-08-18 13:29:44 +08:00
leo
0dc73cbc0d optimize<Pull>: use custom stash instead of --autostash to avoid data missing when file is locked by other applications 2023-08-04 19:00:21 +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
814637946d fix<Histroies>: remove invalid filters to fix issue #I5RZC9 2022-09-20 16:55:24 +08:00
leo
338f91357e optimize<*>: remove deprecated apis (older than .NET 6) 2022-05-20 16:00:25 +08:00
leo
35235df7bc feature<WorkingCopy>: gitee issue #I54W26 - toggle untracked files in working copy changes 2022-05-05 09:58:10 +08:00
leo
b04c94ccc1 feature<Cleanup>: add toolbar button to run git gc and git lfs prune 2022-02-10 14:27:46 +08:00
leo
9f58e0c715 feature<Remote>: add 'Prune' context menu for remote to prune dead branches without fetching 2021-11-17 16:12:26 +08:00
leo
dcf53c31cc feature<*>: use credential-manager-core instead of old credential-manager 2021-11-15 12:21:34 +08:00
leo
e5996d0fe1 style<Preference>: new style of preference setting dialog 2021-10-13 11:19:45 +08:00
leo
48020861ee optimize<Command>: each process has its own envs 2021-10-12 17:26:39 +08:00
leo
75a46ceb74 feature<SSH>: supports using ssh private key to access remote git repository 2021-10-12 17:14:48 +08:00
ZCShou
50fe327a89 !24 右键菜单增加取消追踪,并在删除相关的远程分支时自动取消跟踪
Merge pull request !24 from Jai/feature/unset-upstream
2021-09-08 00:19:36 +00:00
李通洲
ebc2fc6b91 feature<Preference>: query git version after selecting git path 2021-09-07 16:57:57 +08:00
Jai
584bac74f9 feature<Dashboard>: add menu to unset upstream and cancel tracking when deleting related remote branches 2021-09-07 09:36:06 +08:00
leo
36b5c7b809 fix<Filters>: remove from filters after a branch or tag deleted 2021-08-28 20:56:50 +08:00
Jai
663f3237c0 Merge pull request !19 from Jai/fix/copy-content-order
* optimix<Diff>: performance optimization
* fix<DiffViewer>: incorrect order when copying file contents
2021-08-11 11:16:00 +00:00
leo
59fa5304d8 feature<Histories>: add reword/squash context menu for HEAD commit 2021-08-05 20:38:38 +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
78bb68b82e fix<Clone>: fix crash reported by https://gitee.com/sourcegit/sourcegit/issues/I43UGJ 2021-08-04 19:11:22 +08:00
leo
164501db01 fix<Branches>: fix crash reported by https://gitee.com/sourcegit/sourcegit/issues/I43RRK 2021-08-04 09:07:31 +08:00
leo
d259d67fd5 optimize<Diff>: simplify DiffPlex algorithm 2021-07-29 20:42:44 +08:00
leo
44873cf088 fix<Diff>: fix compile error on .NET 4.8 2021-07-29 17:09:07 +08:00
leo
ef8488de51 optimize<Diff>: use custom chunker instead of CharacterDiff 2021-07-29 16:47:30 +08:00
leo
ce02bb8ab6 fix<QueryFileSizeChange>: bad order to query binary file size by revisions 2021-07-29 15:10:59 +08:00
leo
789e3cf6a2 optimize<Diff>: limit number of character diff; ignore empty changes 2021-07-28 15:26:41 +08:00
leo
18f35449e5 optimize<Diff>: show 4 context lines on diff 2021-07-28 15:04:00 +08:00
leo
92de6f2b79 feature<Diff>: highlights differences for modified lines (both added and removed) 2021-07-28 15:02:13 +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
2ddc61e162 feature<Watcher>: sync changes for git-worktrees 2021-06-30 15:09:18 +08:00
leo
a9a76e7418 feature<SubTree>: just link subtree when prefix is already exists 2021-06-16 15:58:51 +08:00
leo
9d6a411887 optimize<LFS>: do NOT test LFS filter when LFS is not enabled 2021-06-07 14:14:53 +08:00
leo
130b5a66ab feature<SubTree>: supports git subtree feature 2021-06-07 11:47:16 +08:00
leo
8993f50944 optimize<Fetch>: do NOT raise error when fetch automatically in background 2021-05-31 09:03:58 +08:00
leo
11420ee5b4 feature<MergeTool>: supports to use WinMerge as git.mergetool 2021-05-28 20:49:43 +08:00
leo
3f55d66e01 feature<Achive>: add git archive to commit's context menu 2021-05-27 22:30:40 +08:00
leo
fe3a36348e fix<Diff>: fix crash when diff line is empty 2021-05-27 15:35:45 +08:00
leo
f4237efaa2 fix<*>: fix crash while creating branch with empty repository 2021-05-27 09:14:34 +08:00
leo
763779b529 feature<Merge>: show progress for merge 2021-05-26 18:58:34 +08:00
leo
67f5eed9a0 feature<Checkout>: add a status panel for checkout progress 2021-05-26 18:43:28 +08:00
leo
ebd4c32690 optimize<GitFlow>: avoid to open editor for commit message when finish release/hotfix branches 2021-05-25 17:43:26 +08:00
Rwing
0f38b157e2 feature<GitFlow>: add an option to keep branch after finish 2021-05-13 15:31:10 +08:00
leo
db9d8c8e99 fix<CreateBranch>: fix branch name binding issue 2021-04-30 17:03:22 +08:00
leo
bf7cc8eed4 refactor<CommitDetail>: move revision files to anthor view 2021-04-30 15:33:26 +08:00
leo
18df69b703 optimize<Stash>: new stash push implementation - untracked file will be added before stash 2021-04-30 14:21:52 +08:00
leo
5c4f36e4eb update<Fetch>: change auto fetch period to 10 minutes 2021-04-30 09:05:29 +08:00
leo
31253269aa fix<Commits>: fix find merged commits in current branch without head 2021-04-30 09:03:35 +08:00
leo
8f3c2fdc32 fix<Discard>: fix discard with files not only dropped changes selected but also others 2021-04-29 21:22:17 +08:00
leo
30ab8ae954 refactor<*>: rewrite all codes... 2021-04-29 20:05:55 +08:00