Skip to content

Commit

Permalink
fixup! Keep a count of clones so we can cleanup clone when not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
komapa committed Nov 20, 2024
1 parent 10765c2 commit 5197ea1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/internal/git/cloner.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func ClonerUsingGitExec(repoSpec *RepoSpec) error {
return err
}
repoSpec.Dir = r.dir

cloneCount[r.dir] = 1
if err = r.run("init"); err != nil {
return err
}
Expand Down

0 comments on commit 5197ea1

Please sign in to comment.