Skip to content

Commit 30e4e04

Browse files
authored
Merge pull request #350 from urihoenig/MinGit
Minimize git access upon changed path
2 parents f2abd52 + 66e58de commit 30e4e04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gitClone.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export class GitClone extends Widget {
5555
*/
5656
disableIfInGitDirectory(): void {
5757
this.gitApi
58-
.allHistory(this.fileBrowser.model.path)
58+
.showTopLevel(this.fileBrowser.model.path)
5959
.then(response => {
6060
if (response.code === 0) {
6161
this.enabledCloneButton.parent = null;

0 commit comments

Comments
 (0)