-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Diffs are rendered incompletely #13248
Comments
zeripath
added a commit
to zeripath/gitea
that referenced
this issue
Oct 21, 2020
Signed-off-by: Andrew Thornton <[email protected]>
wULLSnpAXbWZGYDYyhWTKKspEQoaYxXyhoisqHf
pushed a commit
to wULLSnpAXbWZGYDYyhWTKKspEQoaYxXyhoisqHf/gitea
that referenced
this issue
Oct 21, 2020
Signed-off-by: Andrew Thornton <[email protected]>
techknowlogick
pushed a commit
that referenced
this issue
Oct 21, 2020
* Fix initial commit page Unfortunately as a result of properly fixing ParsePatch the hack that used git show <initial_commit_id> to get the diff for this failed. This PR fixes this using the "super-secret" empty tree ref to make the diff against. Signed-off-by: Andrew Thornton <[email protected]> * Also fix #13248 Signed-off-by: Andrew Thornton <[email protected]> * Update services/gitdiff/gitdiff.go Co-authored-by: 6543 <[email protected]>
zeripath
added a commit
to zeripath/gitea
that referenced
this issue
Oct 22, 2020
Backport go-gitea#13249 * Fix initial commit page Unfortunately as a result of properly fixing ParsePatch the hack that used git show <initial_commit_id> to get the diff for this failed. This PR fixes this using the "super-secret" empty tree ref to make the diff against. Signed-off-by: Andrew Thornton <[email protected]> * Also fix go-gitea#13248 Signed-off-by: Andrew Thornton <[email protected]> * Update services/gitdiff/gitdiff.go Co-authored-by: 6543 <[email protected]>
zeripath
added a commit
to zeripath/gitea
that referenced
this issue
Oct 22, 2020
Backport go-gitea#13249 * Fix initial commit page Unfortunately as a result of properly fixing ParsePatch the hack that used git show <initial_commit_id> to get the diff for this failed. This PR fixes this using the "super-secret" empty tree ref to make the diff against. Signed-off-by: Andrew Thornton <[email protected]> * Also fix go-gitea#13248 Signed-off-by: Andrew Thornton <[email protected]> * Update services/gitdiff/gitdiff.go Co-authored-by: 6543 <[email protected]>
zeripath
added a commit
that referenced
this issue
Oct 22, 2020
Backport #13249 * Fix initial commit page Unfortunately as a result of properly fixing ParsePatch the hack that used git show <initial_commit_id> to get the diff for this failed. This PR fixes this using the "super-secret" empty tree ref to make the diff against. Signed-off-by: Andrew Thornton <[email protected]> * Also fix #13248 Signed-off-by: Andrew Thornton <[email protected]> * Update services/gitdiff/gitdiff.go Co-authored-by: 6543 <[email protected]> Co-authored-by: 6543 <[email protected]>
zeripath
added a commit
that referenced
this issue
Oct 22, 2020
Backport #13249 * Fix initial commit page Unfortunately as a result of properly fixing ParsePatch the hack that used git show <initial_commit_id> to get the diff for this failed. This PR fixes this using the "super-secret" empty tree ref to make the diff against. Signed-off-by: Andrew Thornton <[email protected]> * Also fix #13248 Signed-off-by: Andrew Thornton <[email protected]> * Update services/gitdiff/gitdiff.go Co-authored-by: 6543 <[email protected]> Co-authored-by: 6543 <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Parallel discussion at Codeberg: https://codeberg.org/Codeberg/Community/issues/313
Description
Hi everyone!
There seems to be a bug with the rendering of diffs in Gitea. It seems to me that whenever a diff contains an image, the diff is only rendered up to that image and all other files will not be rendered, although present in the commit that is to be displayed.
This can lead to code reviews being prevented, due to maintainers being unable to see the sourcecode (for example: https://codeberg.org/Codeberg/Documentation/pulls/99).
Screenshots
The text was updated successfully, but these errors were encountered: