You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The fix seems to be adding a call to ref.LoadIssue(ctx) before closeIssueIndexes = append(closeIssueIndexes, fmt.Sprintf("%s %s%d", closeWord, issueReference, ref.Issue.Index))
Description
In a new repository
.gitea/default_merge_message/SQUASH_TEMPLATE.md
with contents for example:Fix #1
It's crashing at
services/pull/merge.go:101
while constructing$ClosingIssues
for the template.Can be seen here:
https://try.gitea.io/brechtvl/test/pulls/2
Gitea Version
5ae07d4 (main)
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
Both self built and try.gitea.io.
Database
None
The text was updated successfully, but these errors were encountered: