I see there's a way to exclude files from AI revie...
# report-bugs
t
I see there's a way to exclude files from AI reviews, but is there a way to collapse file diffs by default? GH supports this with
linguist-generated
in
.gitattributes
.
p
(If applicable) To help us repro, please send the following if you haven't already: - PR links, screenshots, and/or debug output if applicable - Repro steps - Does this happen consistently? Just to you or others on your team also? - Is this a regression? Is the problem new? - If you're having an issue with the CLI, please send us debug logs using
gt feedback --with-debug-context <any message>
Hi Travis, have you tried this? When marking thigs as generated they DO get auto collapsed. We use the same mechanism as github. See instructions here and below example screenshot.
t
¯\_(ツ)_/¯ Doesn't seem to work. Maybe because of the wildcard?
p
odd 🤔 can you try
linguist-generated=true
t
Nope, didn't do it. Maybe I have to merge it into main before it's actually respected? (I'm still suspicious of the wildcard being the culprit 👀)
image.png,image.png
p
yea worth a try. Our docs show the wildcard so i'd be suprised but i can def test on my end as well
t
Yeah, I think it's that. Seems to work now. I'd still classify this as a bug because it makes it impossible to preview how your
.gitattributes
changes will affect things.
👍 1
p
awesome, glad youre unblocked. I can file a ticket as confusing UX