Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Kate
Commits
a17cf2ad
Commit
a17cf2ad
authored
Mar 31, 2021
by
Waqar Ahmed
Browse files
Fix untracked selection unable to stage
Signed-off-by:
Waqar Ahmed
<
waqar.17a@gmail.com
>
parent
e525143c
Changes
1
Hide whitespace changes
Inline
Side-by-side
addons/project/gitwidget.cpp
View file @
a17cf2ad
...
...
@@ -1068,7 +1068,7 @@ void GitWidget::selectedContextMenu(QContextMenuEvent *e)
}
if
(
execAct
==
stageAct
)
{
if
(
selectionHasChangedItems
)
{
if
(
selectionHasChangedItems
||
selectionHasUntrackedItems
)
{
stage
(
files
);
}
else
{
unstage
(
files
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment