Skip to content

Commit

Permalink
Commit unstaged files after pop-up confirmation (#35185)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Kabardinov authored and Dmitry Kabardinov committed Oct 6, 2017
1 parent fd2db46 commit 27e4463
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions extensions/git/src/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -832,6 +832,8 @@ export class CommandCenter {

if (!opts) {
opts = { all: noStagedChanges };
} else if ((opts.all === false) && noStagedChanges) {
opts = { ...opts, all: noStagedChanges };
}

// enable signing of commits if configurated
Expand Down

0 comments on commit 27e4463

Please sign in to comment.