You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Convert pdf, doc and docx files to text by default
Converting PDF and Word files to text before diffing them allows an
easier comparison between changed files. This reintroduces some
functionality of Git for Windows 1.x.
The pdftotext tool exists both in the xpdf package and the poppler
package; we opted to include the xpdf one because requires us to add
only its dependency libstdc++-6.dll in addition. Poppler's version would
require 23 additional dlls.
In Johannes' tests, this change increased the portable Git by a scant
701kB -- which he deems worth the benefit.
This fixesgit-for-windows/git#355
[jes: re-wrapped commit message, avoided double list entry for
astextplain (in git-extra) and unzip.exe (dependency of docx2txt) that
7-Zip would complain about]
Signed-off-by: Matthias Aßhauer <[email protected]>
Signed-off-by: Johannes Schindelin <[email protected]>
0 commit comments