Fixes #110880 - sets useConfigOnly=true on commit
This commit is contained in:
parent
634fb13135
commit
c358910b01
|
@ -1365,6 +1365,9 @@ export class Repository {
|
|||
args.push('--no-verify');
|
||||
}
|
||||
|
||||
// Stops git from guessing at user/email
|
||||
args.splice(0, 0, '-c', 'user.useConfigOnly=true');
|
||||
|
||||
try {
|
||||
await this.run(args, !opts.amend || message ? { input: message || '' } : {});
|
||||
} catch (commitErr) {
|
||||
|
|
Loading…
Reference in a new issue