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

Re: Problems with binary patches (pull) and spaces in filenames (gitk)

From
PEPeter Eriksen <s022018@student.dtu.dk>
Date
Nov 9, 2005, 23:33 UTC
Message-ID
<20051109233300.GA23244@ebar091.ebar.dtu.dk>
In-Reply-To
<7v8xvxbg9y.fsf@assigned-by-dhcp.cox.net>
On Wed, Nov 09, 2005 at 02:36:09PM -0800, Junio C Hamano wrote:
Show 9 quoted lines
> Junio C Hamano <junkio@cox.net> writes:
> 
> > Hmm.  Perhaps a suboption to git-apply --stat to tell it not to
> > barf is helpful?  In the meantime, could you pull with -n flag?
> 
> Would this help?
> 
> -- >8 -- cut here -- >8 --
> [PATCH] git-apply: do not barf on binary diff when not applying.

Yes, it seems to work. With my example it now shows the diff stats and puts a "Bin" instead of the number of line changed. It could show the change in the size, but as it is, it's fine with me. Please apply.

Peter
Previous: Junio C HamanoNext: Jan Harkes
Message 4 of 6 in “Problems with binary patches (pull) and spaces in filenames (gitk)”
  1. Peter EriksenNov 9, 2005
  2. Junio C HamanoNov 9, 2005
  3. Junio C HamanoNov 9, 2005
  4. Peter EriksenNov 9, 2005
  5. Jan HarkesNov 9, 2005
  6. Linus TorvaldsNov 9, 2005

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.