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
7447fae5
Verified
Commit
7447fae5
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
3d0d5832
Changes
1
Hide whitespace changes
Inline
Side-by-side
addons/project/gitwidget.cpp
View file @
7447fae5
...
...
@@ -1084,7 +1084,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