Commit Graph

1020 Commits

Author SHA1 Message Date
leo
b746e8ea55 feature: allow to select multiple tags and delete theme from context menu (#1717)
Signed-off-by: leo <longshuang@msn.cn>
2025-08-12 14:23:26 +08:00
leo
c27c9f6b10 feature: show tagger in annotated tag's tooltip (#1664)
Signed-off-by: leo <longshuang@msn.cn>
2025-08-05 21:22:39 +08:00
leo
9734026e39 refactor: remember last check state of Fetch all remotes and repect it while auto-fetching (#1647)
Signed-off-by: leo <longshuang@msn.cn>
2025-08-05 12:39:53 +08:00
leo
6ddbc6f92a code_review: PR #1660
Since `$GIT_DIR` is the same with `$GIT_COMMON_DIR` for submodules, use `$GIT_DIR` directly to ignore submodule's main worktree  while querying worktrees

Signed-off-by: leo <longshuang@msn.cn>
2025-08-04 20:35:24 +08:00
Gadfly
6cad70db24 fix: exclude main worktree by comparing with commonDir in submodules (#1660)
Fixes worktree detection in submodules where worktree.FullPath differs from commonDir path.
2025-08-04 20:10:07 +08:00
leo
e9bc7fc5be refactor: disable --all by default while fetching (#1647)
- If there's only one remote or we have selected the remote to fetch changes from, do not show `Fetch all remotes` option
- Disable `--all` by default

Signed-off-by: leo <longshuang@msn.cn>
2025-08-04 18:22:25 +08:00
leo
a4306fe6e3 feature: double-clicking tag will try to checkout (detached mode) the revision refered by selected tag (#1661)
Signed-off-by: leo <longshuang@msn.cn>
2025-08-04 17:53:42 +08:00
leo
0acff99945 refactor: use <revision_sha>^ instead of <revision_parent_sha> as base revsion when getting changes of commit (#1625)
Signed-off-by: leo <longshuang@msn.cn>
2025-07-28 17:23:24 +08:00
leo
ab14e818be refactor: simplify the invocation of external merge/diff tool
Signed-off-by: leo <longshuang@msn.cn>
2025-07-28 14:18:34 +08:00
leo
c7a01f646f fix: GetCanStagedChanges should allow stage conflict that has been resolved manually (#1621)
Signed-off-by: leo <longshuang@msn.cn>
2025-07-25 17:35:32 +08:00
leo
619fc3c073 feature: auto-track remote branch when the remote branch is first time to checkout (#1616)
Signed-off-by: leo <longshuang@msn.cn>
2025-07-24 18:23:52 +08:00
leo
e2bf9ccc98 code_style: move some code from Views.Histories to ViewModels.Histories
Signed-off-by: leo <longshuang@msn.cn>
2025-07-24 12:51:22 +08:00
leo
5ff34501bd feature: add a button to scroll to the top of commit list
Signed-off-by: leo <longshuang@msn.cn>
2025-07-24 11:39:24 +08:00
leo
731e5a722a refactor: drag & drop folders on repository tree (#1611)
- Allows to drag-drop multiple folders to repository tree
- Drag & drop folder to repository tree will not open repository directly

Signed-off-by: leo <longshuang@msn.cn>
2025-07-23 21:15:26 +08:00
leo
9629a339dd refactor: use async instead of .Result when it is called by delegates
Signed-off-by: leo <longshuang@msn.cn>
2025-07-23 20:22:05 +08:00
leo
5339adec65 refactor: use async instead of Task.Run
Signed-off-by: leo <longshuang@msn.cn>
2025-07-23 17:15:16 +08:00
leo
6b9ba599d2 refactor: move context menu creation from ViewModels to Views (PART 10)
Signed-off-by: leo <longshuang@msn.cn>
2025-07-23 17:01:22 +08:00
leo
c08f15827f refactor: move context menu creation from ViewModels to Views (PART 9)
Signed-off-by: leo <longshuang@msn.cn>
2025-07-23 16:15:43 +08:00
leo
fa44d9c378 refactor: move context menu creation from ViewModels to Views (PART 8)
Signed-off-by: leo <longshuang@msn.cn>
2025-07-23 15:56:13 +08:00
leo
2a2f01c34b refactor: move context menu creation from ViewModels to Views (PART 7)
Signed-off-by: leo <longshuang@msn.cn>
2025-07-23 14:59:11 +08:00
leo
03160d339e refactor: move context menu creation from ViewModels to Views (PART 6)
Signed-off-by: leo <longshuang@msn.cn>
2025-07-23 14:00:20 +08:00
leo
dd00d0e7a8 refactor: move context menu creation from ViewModels to Views (PART 5)
Signed-off-by: leo <longshuang@msn.cn>
2025-07-23 13:41:45 +08:00
leo
f2830e9573 refactor: move context menu creation from ViewModels to Views (PART 4)
Signed-off-by: leo <longshuang@msn.cn>
2025-07-23 13:21:19 +08:00
leo
f65288247b refactor: move context menu creation from ViewModels to Views (PART 3)
Signed-off-by: leo <longshuang@msn.cn>
2025-07-23 12:38:30 +08:00
leo
c29e1e2490 refactor: move context menu creation from ViewModels to Views (PART 2)
Signed-off-by: leo <longshuang@msn.cn>
2025-07-23 12:30:02 +08:00
leo
b3087c3076 refactor: move context menu creation from ViewModels to Views (PART 1)
Signed-off-by: leo <longshuang@msn.cn>
2025-07-23 12:22:21 +08:00
leo
d8c8765aa3 code_style: add CreateIssueTrackerCommand to generate Commands.IssueTracker
Signed-off-by: leo <longshuang@msn.cn>
2025-07-22 21:42:00 +08:00
leo
9802ac963c fix: should clear old issuetrackers when pressing F5 to reload whole repository (#1599)
Signed-off-by: leo <longshuang@msn.cn>
2025-07-22 21:16:53 +08:00
leo
b345bb4668 refactor: use the same method to save both local and shared issuetracker (#1599)
Signed-off-by: leo <longshuang@msn.cn>
2025-07-22 21:03:50 +08:00
heartacker
a39f2e2fee feature: add gerrit change-id rule (#1600)
- git hash id length is 40
- gerrit change-id  length is 41, and must startwith "I"
2025-07-21 11:40:00 +08:00
leo
c977757a74 code_review: commit 9f155d7b32 from heartacker:heartacker/issue1595
- Combine `EnableReflog`, `EnableFirstParentInHistories`, `SimplifyByDecoration` attribute into one `HistoryShowFlags`
- Re-design toolbar buttons in `HISTORY` page switcher because there're too many buttons.

Signed-off-by: leo <longshuang@msn.cn>
2025-07-18 17:19:11 +08:00
heartacker
9f155d7b32 feature: add --simplify-by-decoration mode support (#1595) 2025-07-18 16:17:14 +08:00
leo
b467eddead feature: supports to share issuetracker rules in .issuetracker file (#1567)
Signed-off-by: leo <longshuang@msn.cn>
2025-07-18 13:09:34 +08:00
leo
69d6e5e29a fix: cloned repository was not added into repository tree
Signed-off-by: leo <longshuang@msn.cn>
2025-07-18 10:32:03 +08:00
leo
8989da7538 enhance: supports commit template with relative path (#1590)
Co-authored-by: King <badly1984@hotmail.com>
Signed-off-by: leo <longshuang@msn.cn>
2025-07-18 10:19:49 +08:00
leo
c6c1fb23ec refactor: use Tapped event instead of Click to access KeyModifers
Signed-off-by: leo <longshuang@msn.cn>
2025-07-16 18:52:42 +08:00
leo
6d298be89e enhance: only show Initialize as needed option when it is necessary
Signed-off-by: leo <longshuang@msn.cn>
2025-07-16 17:15:26 +08:00
leo
dba6b7555e feature: supports to use git-credential-libsecret instead of git-credential-manager on Linux (#1560)
Signed-off-by: leo <longshuang@msn.cn>
2025-07-16 16:26:28 +08:00
leo
4c4af6ef68 feature: supports to discard all local changes without untracked files (#1586)
Signed-off-by: leo <longshuang@msn.cn>
2025-07-16 15:37:11 +08:00
leo
79dc295183 ux: re-order commit context menu items
Signed-off-by: leo <longshuang@msn.cn>
2025-07-14 17:00:50 +08:00
leo
8cea7ac2aa revert!: remove Squash Children into Here
Since `Children` is an ambiguous word for commits to a multi-branch repository, and users can do the same job with the `Interactive Rebase` feature, this context menu entry will be removed.

Signed-off-by: leo <longshuang@msn.cn>
2025-07-14 16:06:51 +08:00
leo
af758158e2 feature: add quick action entry for interactive rebase (#1572)
Signed-off-by: leo <longshuang@msn.cn>
2025-07-14 15:46:03 +08:00
leo
4d37e73f4a ux: should not use friendly name for Squash Commits Since This
Signed-off-by: leo <longshuang@msn.cn>
2025-07-14 14:44:46 +08:00
leo
b670312522 ux: new tooltip for branch tree node (#1562)
Signed-off-by: leo <longshuang@msn.cn>
2025-07-14 12:45:35 +08:00
leo
a752ad141d code_review: PR #1568
Signed-off-by: leo <longshuang@msn.cn>
2025-07-14 10:22:04 +08:00
Nathan Baulch
a1e0ee5561 enhance: use commit friendly name in context menus (#1568) 2025-07-14 10:07:30 +08:00
leo
6ae8c7c759 code_style: move class extensions to App.Extensions.cs to use these extensions anywhere
Signed-off-by: leo <longshuang@msn.cn>
2025-07-11 18:00:21 +08:00
leo
bfd639c001 enhance: external merge tool can only used for both-added or both-modified conflict(s)
Signed-off-by: leo <longshuang@msn.cn>
2025-07-11 14:22:08 +08:00
leo
b1efd6527c feature: allows to reword HEAD commit while keeping local changes
Signed-off-by: leo <longshuang@msn.cn>
2025-07-11 14:09:41 +08:00
Nathan Baulch
3f5f74d7ae enhance: support --autostash on interactive rebase (#1556) 2025-07-11 13:27:07 +08:00