move git smoke tests to integration tests

This commit is contained in:
Joao Moreno
2020-02-04 16:58:20 +01:00
parent 491a17bd71
commit 16c7551f36
8 changed files with 136 additions and 96 deletions

View File

@@ -121,6 +121,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;
@@ -176,6 +184,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';