leo
5f520932a2
ux: hide the row to deal with uncommitted local changes when there are no local changes
...
Signed-off-by: leo <longshuang@msn.cn >
2026-03-23 14:26:42 +08:00
leo
0b15451916
feature: add Do Nothing option back to all git checkout command ( #2204 )
...
Signed-off-by: leo <longshuang@msn.cn >
2026-03-23 12:17:24 +08:00
leo
5cdb8364a9
enhance: run checking out automatically when all the local changes are new files
...
Signed-off-by: leo <longshuang@msn.cn >
2026-03-17 13:59:36 +08:00
leo
418d4a3827
enhance: manually update local branch tree after creating a new local branch ( #2169 )
...
Signed-off-by: leo <longshuang@msn.cn >
2026-03-17 12:12:25 +08:00
leo
9d63078bec
enhance: manually update local branch tree after checking out a exiting local branch ( #2169 )
...
Since the remote branch tree did not changed after checkout, and the changes in the local branch tree are completely predictable, update it manually.
Signed-off-by: leo <longshuang@msn.cn >
2026-03-16 19:01:52 +08:00
leo
1d38c9d89c
enhance: start checkout directly when there is no local changes but submodules
...
Signed-off-by: leo <longshuang@msn.cn >
2026-02-10 10:50:52 +08:00
leo
ea1159cf20
code_style: rename TryAutoUpdateSubmodules to AutoUpdateSubmodulesAsync
...
Signed-off-by: leo <longshuang@msn.cn >
2026-01-14 16:16:40 +08:00
leo
3c9a7920a3
feature: add a repository configuration - Ask before auto-updating submodules (default false) ( #2045 )
...
Signed-off-by: leo <longshuang@msn.cn >
2026-01-14 11:58:44 +08:00
leo
3ee3c4e021
refactor: --recursive will always be enabled while initializing or updating submodules
...
Signed-off-by: leo <longshuang@msn.cn >
2026-01-13 15:40:53 +08:00
leo
7bed988f59
refactor: do not stash untracked changes while doing checkout/create branch/pull with Stash & Reapply ( #2016 )
...
Signed-off-by: leo <longshuang@msn.cn >
2025-12-29 12:58:16 +08:00
leo
79feb442ee
refactor: auto update submodules (only initialized) after checkout/create branch/merge/pull
...
Signed-off-by: leo <longshuang@msn.cn >
2025-12-24 16:15:48 +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
20ff55fc03
feature: show repo status in Welcome page ( #1867 )
...
Signed-off-by: leo <longshuang@msn.cn >
2025-10-22 15:47:53 +08:00
leo
cd80a55629
refactor: file-system watcher
...
- Use `System.Threading.Interlocked` to read/write data
- Use `SourceGit.Models.Watcher.LockContext` to release watcher's lock
- New way to detect file changes in submodules
- Manually update stashes after `git stash` command complete (#1760 )
Signed-off-by: leo <longshuang@msn.cn >
2025-09-01 17:39:07 +08:00
leo
7e71ab2f2c
enhance: do not clear original history filters after checkout branch
...
Signed-off-by: leo <longshuang@msn.cn >
2025-08-29 10:09:09 +08:00
leo
ce23e8cb20
refactor: use async methods to commit changes
...
Signed-off-by: leo <longshuang@msn.cn >
2025-08-14 12:53:16 +08:00
leo
62a546a33a
feature: supports to copy sha and remote url of selected submodule ( #1518 ) ( #1522 )
...
Signed-off-by: leo <longshuang@msn.cn >
2025-07-05 17:05:20 +08:00
leo
eb45380b8d
code_review: PR #1525
...
- `OpenForDiffAsync` should not use `await` (we do not need to wait it ends)
- Modify `Checkout`, `CheckoutCommit` and `CreateBranch`
Signed-off-by: leo <longshuang@msn.cn >
2025-07-05 16:22:52 +08:00
Nathan Baulch
3583527026
code_style: general cleanup ( #1525 )
2025-07-05 15:58:16 +08:00
leo
92ab85bb3f
enhance: do not warn when creating branch with current detached HEAD
...
Signed-off-by: leo <longshuang@msn.cn >
2025-07-03 20:11:21 +08:00
leo
18b9d982ce
refactor: remove ConfigureAwait when we need to go back to UIThread after it
...
Signed-off-by: leo <longshuang@msn.cn >
2025-07-03 18:42:56 +08:00
leo
2a0f9f4192
fix: onSure is not asigned to Views.Confirm.OnSure
...
Signed-off-by: leo <longshuang@msn.cn >
2025-07-03 17:49:39 +08:00
leo
40765826ce
code_review: PR #1492
...
- Remove all synchronous method in commands
- `Command.ReadToEndAsync` now is protected method
- Rename `ResultAsync` to `GetResultAsync`
- Call `ConfigureAwait(false)` when there's no context
Signed-off-by: leo <longshuang@msn.cn >
2025-07-03 17:30:06 +08:00
Nathan Baulch
463e304491
feature: async ( #1492 )
...
* Async command methods
* Async `Task.Run` where possible
* Remove redundant `Task.Run` in `Sure` methods
* Remove leftover braces and reformat
* Async event handlers as needed
2025-07-03 15:38:39 +08:00
Nathan Baulch
1acf2a14df
code_style: general cleanup ( #1469 )
2025-06-28 10:25:56 +08:00
leo
0e22503b22
feature: warn users when checking out new branch with commits not connected to any branches ( #1463 )
...
Signed-off-by: leo <longshuang@msn.cn >
2025-06-26 12:58:31 +08:00
leo
1fef7a7baa
perf: only update uninited or outdated submodules
...
Signed-off-by: leo <longshuang@msn.cn >
2025-05-21 17:51:00 +08:00
leo
936160ea5c
feature: supports --recurse-submodules on pull ( #1342 )
...
Signed-off-by: leo <longshuang@msn.cn >
2025-05-21 16:54:23 +08:00
leo
0f6c8976af
refactor: rewrite checkout/create branch with submodules
...
Signed-off-by: leo <longshuang@msn.cn >
2025-05-09 18:12:30 +08:00
leo
3e530de9cc
enhance: update submodules individually ( #1272 )
...
Signed-off-by: leo <longshuang@msn.cn >
2025-05-09 17:12:12 +08:00
leo
df29edd8f0
feature: make --recurse-submdoules an option while trying to checkout branch with submodules ( #1272 )
...
Signed-off-by: leo <longshuang@msn.cn >
2025-05-06 12:01:58 +08:00
leo
30d42b11e2
enhance: wait a while after branch changed ( #1254 )
...
Signed-off-by: leo <longshuang@msn.cn >
2025-04-28 16:19:40 +08:00
leo
5fd074a9b6
refactor: use view locator instead of creating views manually in viewmodels ( #1213 )
...
Signed-off-by: leo <longshuang@msn.cn >
2025-04-19 11:14:19 +08:00
leo
8b39df32cc
feature: git command logs
...
Signed-off-by: leo <longshuang@msn.cn >
2025-04-17 13:23:56 +08:00
leo
0e261cffd2
refactor: rewrite the way to deal with uncommitted local changes when checkout/pull/create branch ( #1085 )
...
Signed-off-by: leo <longshuang@msn.cn >
2025-03-13 10:21:54 +08:00
leo
5199fb2b74
enhance: do NOT remember the last selected handling method of uncommitted local changes ( #977 )
...
Signed-off-by: leo <longshuang@msn.cn >
2025-02-28 22:14:21 +08:00
leo
4e06944c9f
fix: auto-filter does not work well ( #855 )
2025-01-02 20:05:04 +08:00
leo
127315528a
feature: auto-change filter branches after checkout ( #855 )
2025-01-02 14:19:10 +08:00
leo
a5606e80d4
refactor: move codes from Views.FilterModeSwitchButton to ViewModels.Repository
...
Signed-off-by: leo <longshuang@msn.cn >
2024-11-15 10:19:39 +08:00
leo
ca5bc4b4df
refactor: rewrite the histories filter function to supports both include and exclude modes ( #690 )
...
Signed-off-by: leo <longshuang@msn.cn >
2024-11-14 15:15:48 +08:00
leo
4e57cd50cd
feature: add an option to clean up ignored files when discard all changes in repo ( #531 )
2024-10-02 21:46:48 +08:00
leo
05c135a89d
feature: auto add checkout target branch to history filters if the filter list is not empty ( #518 )
2024-09-26 20:37:48 +08:00
leo
3609d46c1f
enhance: pop stash directly instead of apply+drop
2024-08-07 15:59:35 +08:00
leo
3bcf4e128e
enhance: get count of changed file (without untracked) directly ( #316 )
2024-08-07 15:52:58 +08:00
leo
8c16ded6bd
enhance: ignore untracked files when calculate local changes in checkout/create branch/pull ( #316 )
2024-08-07 15:38:18 +08:00
leo
71c2ad989b
enhance: do not call git add before git stash push when enable auto stash in checkout/create branch/pull ( #316 )
2024-08-07 15:20:21 +08:00
leo
f4f4a26a64
enhance: remember last selected on common actions ( #231 )
...
* the way to deal with local changes on checkout branch page
* the way to deal with local changes and should checkout after created on new branch page
* should fetch without tags on fetch page
* the way to deal with local changes and should fetch without tags on pull page
* should push all tags on push
2024-07-03 14:42:21 +08:00
leo
a717e48a29
enhance: change the default action to deal with local changes on pull/checkout/create new branch to Do Nothing ( #185 )
2024-06-19 15:29:40 +08:00
leo
0b09d210be
feature: allow to ignore local changes also when switching branch or pulling changes ( #151 )
2024-05-29 16:42:47 +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