From: stefan.naewe@atlas-elektronik.com Date: Mon, 30 Jul 2018 15:41:23 GMT Subject: Re: Strange bug with "git log" - pdftotext? Message-ID: <7fbab4fc-a0a3-0aca-2974-24ac1ed5197e@atlas-elektronik.com> In-Reply-To: <5B5F096A.7030404@game-point.net> Am 30.07.2018 um 14:49 schrieb Jeremy Morton: > I'm trying to search my git log history for a particular term - "unobtrusive" - so I run this command: > > git log -S unobtrusive --oneline > > When I do this, this is displayed and I'm in an interactive less terminal or something: > > pdftotext version 4.00 > Copyright 1996-2017 Glyph & Cog, LLC > Usage: pdftotext [options] [] >  -f              : first page to convert >  -l              : last page to convert >  -layout              : maintain original physical layout >  -simple              : simple one-column page layout >  -table               : similar to -layout, but optimized for tables >  -lineprinter         : use strict fixed-pitch/height layout >  -raw                 : keep strings in content stream order >  -fixed       : assume fixed-pitch (or tabular) text >  -linespacing : fixed line spacing for LinePrinter mode >  -clip                : separate clipped text >  -nodiag              : discard diagonal text >  -enc         : output text encoding name >  -eol         : output end-of-line convention (unix, dos, or mac) >  -nopgbrk             : don't insert page breaks between pages >  -bom                 : insert a Unicode BOM at the start of the text file >  -opw         : owner password (for encrypted files) >  -upw         : user password (for encrypted files) >  -q                   : don't print any messages or errors >  -cfg         : configuration file to use in place of .xpdfrc >  -v                   : print copyright and version info > : > > When I hit the down arrow, it scrolls down, repeating this output infinitely until I hit 'q'.  What is going on here?? > Wild guess: You're using "Git for Windows" on a version less than "2.18.0.windows.1" ? Try upgrading (at least) to that version. IIRC that's one of the issues it fixes. HTH Stefan -- ---------------------------------------------------------------- /dev/random says: Never underestimate the power of human stupidity. python -c "print '73746566616e2e6e616577654061746c61732d656c656b74726f6e696b2e636f6d'.decode('hex')" GPG Key fingerprint = 2DF5 E01B 09C3 7501 BCA9 9666 829B 49C5 9221 27AF