Skip to content

Commit bfaf13c

Browse files
committed
Merge branch 'split-index-js' of github.com:wxiaoguang/gitea into split-index-js
2 parents c812633 + e3239ca commit bfaf13c

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)