[PR #1845] [MERGED] Use a better default MAX_GIT_DIFF_LINE_CHARACTERS #16081

Closed
opened 2025-11-02 12:01:52 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/1845
Author: @silverwind
Created: 5/31/2017
Status: Merged
Merged: 6/1/2017
Merged by: @appleboy

Base: masterHead: line-len-limit


📝 Commits (1)

  • f33be86 Use a better default MAX_GIT_DIFF_LINE_CHARACTERS

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 conf/app.ini (+1 -1)

📄 Description

Tests indicate that line length alone does not make browsers slow, so increase the default threshold after which diffs get surpressed for line length from 500 to a more reasonable 5000 characters.

Fixes: https://github.com/go-gitea/gitea/issues/1826


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/1845 **Author:** [@silverwind](https://github.com/silverwind) **Created:** 5/31/2017 **Status:** ✅ Merged **Merged:** 6/1/2017 **Merged by:** [@appleboy](https://github.com/appleboy) **Base:** `master` ← **Head:** `line-len-limit` --- ### 📝 Commits (1) - [`f33be86`](https://github.com/go-gitea/gitea/commit/f33be86ecb1549f1d74131263359d920bef4f3f0) Use a better default MAX_GIT_DIFF_LINE_CHARACTERS ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `conf/app.ini` (+1 -1) </details> ### 📄 Description Tests indicate that line length alone does not make browsers slow, so increase the default threshold after which diffs get surpressed for line length from 500 to a more reasonable 5000 characters. Fixes: https://github.com/go-gitea/gitea/issues/1826 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 12:01:52 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#16081