Thread (16 messages) flat view 16 messages, 7 authors, 2016-06-15

Re: How should I handle binary file with GIT

From: Nicolas Pitre <hidden>
Date: 2016-06-15 22:42:23

On Wed, 5 Apr 2006, Shawn Pearce wrote:
The clearly safe approach is to include the full SHA1 ID of the
old object the patch was created from and use the xdelta in the
patch only as a means of transporting a compressed form of the new
version of the object.  If git-diff starts to export say a base 64
encoding of the xdelta then it should also include the full SHA1
ID for binary files, even if --full-index wasn't given.

git-apply should only apply an xdelta patch to the exact same
old object.  If the tree currently has a different object at that
path then reject the patch entirely.
Amen.  Exactly what I just said.


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