git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Strange bug with "git log" - pdftotext?

From
stefan.naewe@atlas-elektronik.com <stefan.naewe@atlas-elektronik.com>
Date
Jul 30, 2018, 15:41 UTC
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:
Show 33 quoted lines
> 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] <PDF-file> [<text-file>]
>  -f <int>             : first page to convert
>  -l <int>             : 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 <number>      : assume fixed-pitch (or tabular) text
>  -linespacing <number>: fixed line spacing for LinePrinter mode
>  -clip                : separate clipped text
>  -nodiag              : discard diagonal text
>  -enc <string>        : output text encoding name
>  -eol <string>        : 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 <string>        : owner password (for encrypted files)
>  -upw <string>        : user password (for encrypted files)
>  -q                   : don't print any messages or errors
>  -cfg <string>        : 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
Previous: Jeremy Morton
Message 4 of 4 in “Strange bug with "git log" - pdftotext?”
  1. Jeremy MortonJul 30, 2018
  2. Jeff KingJul 30, 2018
  3. Jeremy MortonJul 30, 2018
  4. stefan.naewe@atlas-elektronik.comJul 30, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.