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

Re: binary safe?

From
Martin Langhoff <martin.langhoff@gmail.com>
Date
Nov 3, 2005, 23:00 UTC
Message-ID
<46a038f90511031500p3d6ed433s6efe3f5a5e60bcf8@mail.gmail.com>
In-Reply-To
<7v7jbpbb3l.fsf@assigned-by-dhcp.cox.net>
On 11/4/05, Junio C Hamano <junkio@cox.net> wrote:
Show 9 quoted lines
> merlyn@stonehenge.com (Randal L. Schwartz) writes:
>
> > I presume emailing diff-patches is out of the question, but if all I'm
> > doing is git-push and git-pull (using the shared central repository
> > model), and if I'm stupid enough to have a merge error it's OK to just
> > blow up on a binary file, will everything else work fine?
>
> It should.  I trust git well enough to track some png files in
> my day-job project.
Yes it works, and cvsimport -k will do the right thing for you.

We are tracking projects with several binary files. The only issue as you note is that trading patches with git-format-patch and git-am doesn't quite deal with it. But you can still do it across different git heads with git-read-tree -m as long as your binary file merges are truly trivial.

cheers,
martin
Previous: Junio C HamanoNext: David Brown
Message 3 of 9 in “binary safe?”
  1. Randal L. SchwartzNov 3, 2005
  2. Junio C HamanoNov 3, 2005
  3. Martin LanghoffNov 3, 2005
  4. David BrownNov 4, 2005
  5. Martin LanghoffNov 4, 2005
  6. David BrownNov 4, 2005
  7. Linus TorvaldsNov 3, 2005
  8. Chris WedgwoodNov 4, 2005
  9. Nick HengeveldNov 3, 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.