Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2f2a377

Browse files
authoredOct 15, 2021
Merge branch 'main' into fix-gitea-reverse-proxy
2 parents 55bf46f + 58cd55d commit 2f2a377

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎modules/git/log_name_status.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,9 @@ heaploop:
350350
}
351351
current, err := g.Next(treepath, path2idx, changed, maxpathlen)
352352
if err != nil {
353+
if err == context.DeadlineExceeded {
354+
break heaploop
355+
}
353356
g.Close()
354357
return nil, err
355358
}

0 commit comments

Comments
 (0)
Please sign in to comment.