Commit Graph

4608 Commits

Author SHA1 Message Date
leo
bc4f06eda9 feature: add Refs: keyword
Signed-off-by: leo <longshuang@msn.cn>
2025-11-06 10:34:02 +08:00
leo
7a207a3589 enhance: completion window display limitation
Signed-off-by: leo <longshuang@msn.cn>
2025-11-06 10:30:48 +08:00
leo
1dd2d1a6c8 refactor: better way to calculate length of commit subject
- All empty line before valid commit message content will be ignored by git
- Whitespace at end-of-line will be ignored by git
- Whitespace at begining-of-line will be used by git
- For multiple-lines in subject, it will be replaced by single space by git when querying commit's subject

Signed-off-by: leo <longshuang@msn.cn>
2025-11-05 18:11:21 +08:00
leo
52ade74d67 enhance: git commit message keyword must starts from begining of a line
Signed-off-by: leo <longshuang@msn.cn>
2025-11-05 16:52:58 +08:00
leo
a744a93560 feature: auto-complete git commit message keywords, such as Co-authored-by:
Signed-off-by: leo <longshuang@msn.cn>
2025-11-05 16:39:31 +08:00
leo
54fedef50c code_style: remove unused code
Signed-off-by: leo <longshuang@msn.cn>
2025-11-05 15:03:16 +08:00
leo
1ea69d978d enhance: clear search results and suggestions after filter was cleared
Signed-off-by: leo <longshuang@msn.cn>
2025-11-05 14:51:41 +08:00
leo
31673a061f ux: layout for CreateBranch popup (#1896)
Signed-off-by: leo <longshuang@msn.cn>
2025-11-05 11:50:03 +08:00
leo
75c667f7b2 refactor: move searching commit code from Repository to SearchCommitContext and keep inputs remained while repo is opened (#1884)
Signed-off-by: leo <longshuang@msn.cn>
2025-11-05 11:38:03 +08:00
leo
642f576c14 ux: layout for CreateBranch popup (#1896)
Signed-off-by: leo <longshuang@msn.cn>
2025-11-05 10:24:19 +08:00
github-actions[bot]
d26eddec64 doc: Update translation status and sort locale files 2025-11-05 02:20:09 +00:00
Javier J. Martínez M.
3bafc7474b localization: update Spanish translation (#1895)
Add missing strings.
2025-11-05 10:19:53 +08:00
leo
95ddedd7b6 refactor: save history filters into $GIT_DIR/sourcegit.filters to support different filters between worktrees (#1893)
Signed-off-by: leo <longshuang@msn.cn>
2025-11-04 20:54:49 +08:00
leo
36aeb3f932 feature: supports CLI command --file-history <file_path> to view given file history (#1892)
Signed-off-by: leo <longshuang@msn.cn>
2025-11-04 16:54:47 +08:00
leo
4c38170584 enhance: use VisualLinesChanged instead of LayoutUpdated to reduce the times to call InvalidateVisual
Signed-off-by: leo <longshuang@msn.cn>
2025-11-04 16:33:21 +08:00
leo
64d44efaf9 fix: do not draw separator line if all subject has been scrolled out of display viewbox
Signed-off-by: leo <longshuang@msn.cn>
2025-11-04 16:19:01 +08:00
leo
1fd8587667 localization: typo in Text.CommitMessageTextBox.Placeholder
Signed-off-by: leo <longshuang@msn.cn>
2025-11-04 15:55:19 +08:00
leo
b26a186f08 code_style: remove unnecessary InvalidateVisual calls
Signed-off-by: leo <longshuang@msn.cn>
2025-11-04 15:53:45 +08:00
github-actions[bot]
b49bae6a21 doc: Update translation status and sort locale files 2025-11-04 07:48:37 +00:00
leo
785927da19 refactor: rewrite the commit message editor
Signed-off-by: leo <longshuang@msn.cn>
2025-11-04 15:48:22 +08:00
leo
9f541bdc1a enhance: auto-select the latest running git command log and auto-scroll to the end when new content is append to current viewing log (#1842)
Signed-off-by: leo <longshuang@msn.cn>
2025-11-04 10:42:23 +08:00
github-actions[bot]
39d1c011e2 doc: Update translation status and sort locale files 2025-11-04 02:20:51 +00:00
Mat
a534700974 localization: updated French translations (#1891) 2025-11-04 10:20:36 +08:00
leo
39b1617059 ux: commit message textbox should not have borders
Signed-off-by: leo <longshuang@msn.cn>
2025-11-03 20:48:36 +08:00
leo
0c503d3dee enhance: do not run git command if there's not a file locked by current user
Signed-off-by: leo <longshuang@msn.cn>
2025-11-03 11:50:53 +08:00
github-actions[bot]
8d883607c8 doc: Update translation status and sort locale files 2025-11-03 02:57:42 +00:00
leo
0f56df35bc code_review: PR #1890
- Re-design LFS Locks window
- Unlocking multiple files is only used in `LFS Locks` window. Remove it from `ViewModels.Repository`
- Use `App.AskConfirmAsync` instead of show confirm window manually
- Add missing translation for Chinese

Signed-off-by: leo <longshuang@msn.cn>
2025-11-03 10:57:25 +08:00
github-actions[bot]
bdeac3e530 doc: Update translation status and sort locale files 2025-11-03 02:28:52 +00:00
Mat
691686cbd6 feature: unlock all locks (Git LFS) (#1890)
* Add "Unlock all my locks" functionality to LFS Locks

* Add confirmation dialog for "Unlock all my locks" in LFS Locks

* Remove trailing whitespaces across LFS-related files
2025-11-03 10:28:38 +08:00
github-actions[bot]
8aafc47811 doc: Update translation status and sort locale files 2025-11-03 02:24:36 +00:00
AquariusStar
7e59503165 localization: update Russian translate (#1888) 2025-11-03 10:24:20 +08:00
leo
cc5a14674b enhance: squashing head will generate default new commit message automatically
Signed-off-by: leo <longshuang@msn.cn>
2025-10-31 11:19:25 +08:00
github-actions[bot]
44286e8373 doc: Update translation status and sort locale files 2025-10-30 10:20:56 +00:00
leo
fa97d44e60 feature: supports to open file with detected external tools (#1882)
Signed-off-by: leo <longshuang@msn.cn>
2025-10-30 18:19:08 +08:00
leo
5b818b6e8c refactor: use a single property to indicate drop direction
Signed-off-by: leo <longshuang@msn.cn>
2025-10-30 14:07:12 +08:00
leo
a3f3415322 typo: git-lfs should be git-flow
Signed-off-by: leo <longshuang@msn.cn>
2025-10-30 13:55:35 +08:00
leo
4777070e1f fix: strikethough line is not rendered in dropped commit
Signed-off-by: leo <longshuang@msn.cn>
2025-10-30 11:27:33 +08:00
leo
c1aa620fe5 doc: update README for git-lfs on Windows (#1881)
Signed-off-by: leo <longshuang@msn.cn>
2025-10-30 11:00:20 +08:00
leo
6ef4d561d7 enhance: remove duplicated newline while appending squashed commit message
Signed-off-by: leo <longshuang@msn.cn>
2025-10-30 10:50:48 +08:00
leo
14a5aa5f28 enhance: restore original commit message if target commit changed from pending target to normal reword/edit
Signed-off-by: leo <longshuang@msn.cn>
2025-10-30 10:42:01 +08:00
leo
e7f391f511 refactor: now final commit message will use the squash/fixed target instead of the last picked
Signed-off-by: leo <longshuang@msn.cn>
2025-10-29 21:56:31 +08:00
leo
609418f57a refactor: simplify InteractiveRebaseItem
Signed-off-by: leo <longshuang@msn.cn>
2025-10-29 19:29:36 +08:00
leo
cfa7e0e749 fix: editing commit message button should be available for Fixup action in Interactive Rebase window
Signed-off-by: leo <longshuang@msn.cn>
2025-10-29 19:12:23 +08:00
leo
e67c87cefc ux: improve Interactive Rebase window UX
Signed-off-by: leo <longshuang@msn.cn>
2025-10-29 19:00:04 +08:00
leo
a869442d78 ux: improve Interactive Rebase window UX
Signed-off-by: leo <longshuang@msn.cn>
2025-10-29 18:31:54 +08:00
leo
79bc093990 enhance: call GC.Collect() manually after command palette closed
Signed-off-by: leo <longshuang@msn.cn>
2025-10-28 16:38:48 +08:00
leo
258480dd41 feature: add Branch Compare command palette
Signed-off-by: leo <longshuang@msn.cn>
2025-10-28 15:25:56 +08:00
leo
6538efcd9f feature: allows to go back to repository command palette from sub command
Signed-off-by: leo <longshuang@msn.cn>
2025-10-28 14:34:14 +08:00
github-actions[bot]
306fb8f6b5 doc: Update translation status and sort locale files 2025-10-28 04:19:47 +00:00
leo
e30c1e05a2 feature: add File scope for custom action (#1872)
If file is selected from commit changes or revision files, the `${SHA}` will be set to the SHA of that commit

Signed-off-by: leo <longshuang@msn.cn>
2025-10-28 12:19:22 +08:00