diff --git a/dist/index.js b/dist/index.js index b612826..e8f87fa 100644 --- a/dist/index.js +++ b/dist/index.js @@ -167,7 +167,7 @@ function setConfig(key, value) { exports.setConfig = setConfig; function add(pattern) { return __awaiter(this, void 0, void 0, function* () { - yield exec.exec('git', ['add', '--all', pattern]); + yield exec.exec('git', ['add', '--verbose', '--all', pattern]); }); } exports.add = add; @@ -200,7 +200,7 @@ exports.showStat = showStat; function push(remoteURL, branch, force) { return __awaiter(this, void 0, void 0, function* () { let args = []; - args.push('push', '--quiet'); + args.push('push'); if (force) { args.push('--force'); } diff --git a/src/git.ts b/src/git.ts index ada5280..174130c 100644 --- a/src/git.ts +++ b/src/git.ts @@ -52,7 +52,7 @@ export async function setConfig(key: string, value: string): Promise { } export async function add(pattern: string): Promise { - await exec.exec('git', ['add', '--all', pattern]); + await exec.exec('git', ['add', '--verbose', '--all', pattern]); } export async function commit(allowEmptyCommit: boolean, author: string, message: string): Promise { @@ -79,7 +79,7 @@ export async function showStat(): Promise { export async function push(remoteURL: string, branch: string, force: boolean): Promise { let args: Array = []; - args.push('push', '--quiet'); + args.push('push'); if (force) { args.push('--force'); }