Merge branch 'master' into issue/88294

This commit is contained in:
Jiayue. Zhang
2020-02-13 00:06:47 +09:00
committed by GitHub
833 changed files with 31820 additions and 26359 deletions

View File

@@ -122,6 +122,14 @@ export interface LogOptions {
readonly maxEntries?: number;
}
export interface CommitOptions {
all?: boolean | 'tracked';
amend?: boolean;
signoff?: boolean;
signCommit?: boolean;
empty?: boolean;
}
export interface Repository {
readonly rootUri: Uri;
@@ -177,6 +185,8 @@ export interface Repository {
blame(path: string): Promise<string>;
log(options?: LogOptions): Promise<Commit[]>;
commit(message: string, opts?: CommitOptions): Promise<void>;
}
export type APIState = 'uninitialized' | 'initialized';