Adds Refresh command to most custom view items

Updates custom view when repo changes (brute force for now)
This commit is contained in:
Eric Amodio
2017-09-03 12:59:16 -04:00
parent d31eb25451
commit 04df931902
3 changed files with 29 additions and 7 deletions

View File

@@ -64,7 +64,11 @@ export const GitRepoSearchBy = {
Sha: 'sha' as GitRepoSearchBy
};
type RepoChangedReasons = 'stash' | 'unknown';
export type RepoChangedReasons = 'stash' | 'unknown';
export const RepoChangedReasons = {
Stash: 'stash' as RepoChangedReasons,
Unknown: 'unknown' as RepoChangedReasons
};
export class GitService extends Disposable {