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

Re: Bug: `git-filter-branch −−subdirectory−filter` fails on Darwin, others?

From
GNGeoff Nixon <geoff@geoff.codes>
Date
May 11, 2016, 14:47 UTC
Message-ID
<154a049cf1d.12555f552239176.4375238071436036595@geoff.codes>
In-Reply-To
<20160511140802.GA20134@sigill.intra.peff.net>
 ---- On Wed, 11 May 2016 07:08:02 -0700 Jeff King <peff@peff.net> wrote ---- 
 > On Wed, May 11, 2016 at 06:47:20AM -0700, Geoff Nixon wrote: 
 >  
 > >    the last line before it fails appears to be 
 > >     `git rev-parse --no-flags --revs-only --symbolic-full-name 
 > >     --default HEAD 
 \210\222 \210\222subdirectory \210\222filter` 
 > >     (including the octal sequences and bad-unicode character, those 
 > >     are not email artifacts) 
 >  
 > Are you sure that you are invoking filter-branch with regular ascii 
 > dashes, and not Unicode "minus-sign" (U+2212)? 
 >  
 > I seem to recall this coming up once before related to OS X, but I can't 
 > seem to find it in the archive. And I don't recall if it was related to 
 > the terminal, a keyboard setting, or something else. 
That was it. I'm an idiot.

I sometimes use `man -t` to generate postscript for lengthy man pages so I can "page through" outside my terminal. It appears that for reasons unknown this converts all "-"s to "−"s. I must have copy-pasted the example. Then I kept using my shell history completion, never typing it out again.

Sorry for wasting your time, thanks for helping me figure this out.
-Geoff
 >  
 > -Peff 
 >
Previous: Jeff King
Message 3 of 3 in “Bug: `git-filter-branch −−subdirectory−filter` fails on Darwin, others?”
  1. Geoff NixonMay 11, 2016
  2. Jeff KingMay 11, 2016
  3. Geoff NixonMay 11, 2016

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.