aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/git/commitdata.h
diff options
context:
space:
mode:
authorAndre Hartmann <[email protected]>2025-11-16 07:00:34 +0100
committerAndrĂ© Hartmann <[email protected]>2025-11-16 06:40:24 +0000
commit6b8b6b6f0f7093e9c61a85f4cc6bccb9fe5aba4a (patch)
tree7a10538e24310099decc618c155dd648cb38a620 /src/plugins/git/commitdata.h
parent7c2d749fb0498995024e7a62fba650c83336be45 (diff)
Git: SubmitEditor: Fix unstaging added files
When added files are staged, the need to be unstaged in a two step sequence: First unstage, then intend to add. Otherwise they appear as untracked. Change-Id: If270cbbd81e4bb83c84d2f55d55f1f0a6a3b32ae Reviewed-by: Orgad Shaneh <[email protected]>
Diffstat (limited to 'src/plugins/git/commitdata.h')
-rw-r--r--src/plugins/git/commitdata.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/git/commitdata.h b/src/plugins/git/commitdata.h
index 9a340fdb3d5..7daf2f22abc 100644
--- a/src/plugins/git/commitdata.h
+++ b/src/plugins/git/commitdata.h
@@ -29,6 +29,7 @@ enum FileAction {
FileOpenEditor,
FileStage,
FileUnstage,
+ FileUnstageAdded,
FileRemove,
FileAddGitignore,
FileMergeTool,