mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-05 16:47:51 +02:00
Refactor ls-tree and git path related problems (#35858)
Fix #35852, the root problem is that the "name" field is heavily abused (since #6816, and no way to get a clear fix) There are still a lot of legacy problems in old code. Co-authored-by: Giteabot <teabot@gitea.io>
This commit is contained in:
1 parent
d0ca2f6bc3
commit
525265c1a8
24 files changed
+193
-450
No files matched your search
@@ -415,6 +415,8 @@ func Diff(ctx *context.Context) {
|
||||
ctx.ServerError("PostProcessCommitMessage", err)
|
||||
return
|
||||
}
|
||||
} else if !git.IsErrNotExist(err) {
|
||||
log.Error("GetNote: %v", err)
|
||||
}
|
||||
|
||||
pr, _ := issues_model.GetPullRequestByMergedCommit(ctx, ctx.Repo.Repository.ID, commitID)
|
||||
|
||||
Reference in new issue
Block a user