Skip to content

Commit a9b86be

Browse files
lukemassaGenPage
authored andcommitted
Switch to fetch
1 parent ea0aba0 commit a9b86be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/events/working_dir.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ func (w *FileWorkspace) HasDiverged(cloneDir string) bool {
200200
return false
201201
}
202202

203-
statusFetchCmd := exec.Command("git", "remote", "update")
203+
statusFetchCmd := exec.Command("git", "fetch")
204204
statusFetchCmd.Dir = cloneDir
205205
outputStatusFetch, err := statusFetchCmd.CombinedOutput()
206206
if err != nil {

0 commit comments

Comments
 (0)