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
leo
3fe72e919c
code_review: PR #1497
...
Signed-off-by: leo <longshuang@msn.cn >
2025-07-03 11:15:14 +08:00
Nathan Baulch
ec17ea9901
code_style: general cleanup ( #1497 )
2025-07-03 10:32:03 +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
Nathan Baulch
ffac71b15f
code_style: general cleanup ( #1415 )
...
* code_style: general cleanup
* code_style: whitespace cleanup
2025-06-12 09:35:37 +08:00
leo
7d0536d94b
feature: when trying to checkout a local branch from its tracking upstream and it is behind the upstream, show Checkout & Fast-Forward popup
...
Signed-off-by: leo <longshuang@msn.cn >
2025-06-10 17:04:06 +08:00