Git - Add the ability to commit and not execute a post-commit command (#160527)

Add the ability to commit and not execute a post-commit command
This commit is contained in:
Ladislau Szomoru
2022-09-09 14:58:38 +02:00
committed by GitHub
parent fcde8c40d1
commit 52223728f8
4 changed files with 58 additions and 6 deletions

View File

@@ -139,7 +139,13 @@ export interface CommitOptions {
requireUserConfig?: boolean;
useEditor?: boolean;
verbose?: boolean;
postCommitCommand?: string;
/**
* string - execute the specified command after the commit operation
* undefined - execute the command specified in git.postCommitCommand
* after the commit operation
* null - do not execute any command after the commit operation
*/
postCommitCommand?: string | null;
}
export interface FetchOptions {