mirror of
https://github.com/go-gitea/gitea
synced 2025-07-14 14:37:20 +00:00
Backport #33901
This commit is contained in:
@ -1193,6 +1193,8 @@ func GetDiff(ctx context.Context, gitRepo *git.Repository, opts *DiffOptions, fi
|
||||
if language.Has() {
|
||||
diffFile.Language = language.Value()
|
||||
}
|
||||
} else {
|
||||
checker = nil // CheckPath fails, it's not impossible to "check" anymore
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user