Hello all.

In a few of my C++ projects being hosted on GitLab, I include a PDF 
generated by Doxygen to serve as a source code reference. These PDFs can 
get quite lengthy, as anyone familiar with Doxygen will know. After a 
little while, I noticed that GitLab wouldn't show me my diffs on merge 
requests anymore. They were always "too big," and required me to click the 
"download" link to see them. When I looked at them, a diff was also 
generated for the PDF, and it was huge. So I thought, okay, that makes 
sense-- I'll just add a .gitattributes file that removes the diff ability 
from PDF files for this repo. I did that, and now when I look at the diff 
it no longer includes the PDF's diff, but GitLab STILL says it's too large 
(even though the diff is only a few lines). I narrowed it down to the 
reload_diffs function of the MergeRequestDiff model, which still seems to 
count the lines from the PDF diff thus putting it in the 
:overflow_diff_lines_limit state, regardless of the .gitattributes file.

Does anyone else have this problem? Is there a workaround? I'd like to 
continue including the generated PDF if I can.

Thank you for any help.

Kyle Fazzari

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to