Diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Hold patch and rawdiff to max-blob-size
Both pages hand the diff to git, whose own limit on an inlined blob is 512 MB, so a commit adding a blob the other views refuse was inflated and diffed in full. The cap is passed through to git, which shows such a blob as binary.
-rw-r--r--source/ui-diff.c4
-rw-r--r--source/ui-patch.c4
-rwxr-xr-xtests/t0204-limits.sh18
3 files changed, 26 insertions, 0 deletions