I have to maintain an ERP-Software that uses the pdf-File ending to save text. Now I committed those files and want to see the diff. Instead I get this:
C:\_Belegformular Git-REPO>git diff --text text.PDF
Syntax Warning: May not be a PDF file (continuing anyway)
Syntax Error: Couldn't read xref table
Syntax Warning: PDF file is damaged - attempting to reconstruct xref table...
Syntax Error: Couldn't find trailer dictionary
Syntax Error: Couldn't read xref table
Syntax Warning: May not be a PDF file (continuing anyway)
Syntax Error: Couldn't read xref table
Syntax Warning: PDF file is damaged - attempting to reconstruct xref table...
Syntax Error: Couldn't find trailer dictionary
Syntax Error: Couldn't read xref table
How do I tell git not to continue anyway? Or rather omit the entire PDF compare from the get go?