diff options
| author | Andre Hartmann <aha_1980@gmx.de> | 2025-09-03 11:32:20 +0200 |
|---|---|---|
| committer | André Hartmann <aha_1980@gmx.de> | 2025-09-03 17:54:52 +0000 |
| commit | 541f762b0014b329efc36cf3e0437434175b0f93 (patch) | |
| tree | 4d03f64c3bf141d9be93e7c0f9261c337383e4d6 /src/plugins/git/gitplugin.cpp | |
| parent | ac256e9e8b5ff4c1f3417250229b7050d63bf376 (diff) | |
Git: Make two unstage actions asynchronous
* Tools > Git > Current File > Unstage
* Git Submit > File List > Right Click > Unstage
Both are user activated and not in a command chain
so this seems reasonable.
Change-Id: Icb7464d1d1a54b3f932f91ad1d4d706a543af4b1
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/plugins/git/gitplugin.cpp')
| -rw-r--r-- | src/plugins/git/gitplugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/git/gitplugin.cpp b/src/plugins/git/gitplugin.cpp index d46cf1ddf37..819d177cb9b 100644 --- a/src/plugins/git/gitplugin.cpp +++ b/src/plugins/git/gitplugin.cpp @@ -1335,7 +1335,7 @@ void GitPluginPrivate::unstageFile() { const VcsBasePluginState state = currentState(); QTC_ASSERT(state.hasFile(), return); - gitClient().synchronousReset(state.currentFileTopLevel(), {state.relativeCurrentFile()}); + gitClient().reset(state.currentFileTopLevel(), {state.relativeCurrentFile()}); } void GitPluginPrivate::gitkForCurrentFile() |
