Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix yet another bug with diff file names (#12771) #12776

Merged
merged 1 commit into from
Sep 9, 2020

Conversation

zeripath
Copy link
Contributor

@zeripath zeripath commented Sep 9, 2020

Backport #12771

Following further testing it has become apparent that the diff line
cannot be used to determine filenames for diffs with any sort of predictability
the answer therefore is to use the other lines that are provided with a diff

Fix #12768

Signed-off-by: Andrew Thornton [email protected]

@zeripath zeripath added this to the 1.12.5 milestone Sep 9, 2020
@GiteaBot GiteaBot added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Sep 9, 2020
@lunny
Copy link
Member

lunny commented Sep 9, 2020

ci failure is related.

Backport go-gitea#12771

Following further testing it has become apparent that the diff line
cannot be used to determine filenames for diffs with any sort of predictability
the answer therefore is to use the other lines that are provided with a diff

Fix go-gitea#12768

Signed-off-by: Andrew Thornton <[email protected]>
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Sep 9, 2020
@zeripath zeripath merged commit 062ea40 into go-gitea:release/v1.12 Sep 9, 2020
@zeripath zeripath deleted the backport-12771 branch September 9, 2020 18:04
@zeripath zeripath linked an issue Sep 11, 2020 that may be closed by this pull request
7 tasks
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. type/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"View File" link creates 404 in particular scenarios
5 participants