Merge branch '34527' of https://github.com/raouldc/vscode into raouldc-34527

This commit is contained in:
Joao Moreno
2017-11-10 17:03:06 +01:00
5 changed files with 41 additions and 7 deletions

View File

@@ -947,10 +947,14 @@ export class Repository {
}
}
async createStash(message?: string): Promise<void> {
async createStash(message?: string, includeUntracked?: boolean): Promise<void> {
try {
const args = ['stash', 'save'];
if (includeUntracked) {
args.push('-u');
}
if (message) {
args.push('--', message);
}