From: Johannes Schindelin Date: Wed, 18 Apr 2007 11:52:20 GMT Subject: Re: git-format-patch for binary files / merges [Re: Expose subprojects as special files to "git diff" machinery] Message-ID: In-Reply-To: <4625DAEE.3090702@vilain.net> 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