Thread (11 messages) flat view 11 messages, 6 authors, 2016-06-15

Re: git-format-patch for binary files / merges [Re: Expose subprojects as special files to "git diff" machinery]

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:43:05

Hi,

On Wed, 18 Apr 2007, Sam Vilain wrote:
Speaking of 'custom' patch file formats, anyone put any thought to a 
format for the commits which can't be represented with patch, like 
binary files and merges?
Git has support for binary patches. They are base85 encoded, but you have 
to enable them explicitely (like renames) with --binary.

As for merges, there is the combined diff format. It has more than one 
cell at the beginning to indicate more than one "new" file (we do not use 
this format for merges, but rather for conflicts, but you could easily 
invert that meaning).

Ciao,
Dscho
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help