Re: How to create a patch that contains a binary file

2017-05-05 Thread Juan Rodríguez Hortalá
Hi Owen, That worked just fine, and I can now apply the patch with `git apply` and the ORC file is ok. Thanks a lot for your help. Greetings, Juan On Fri, May 5, 2017 at 2:55 PM, Owen O'Malley wrote: > Try: > > % git format-patch --stdout HEAD^ > HIVE-1234.1.patch > > That will generate a g

Re: How to create a patch that contains a binary file

2017-05-05 Thread Owen O'Malley
Try: % git format-patch --stdout HEAD^ > HIVE-1234.1.patch That will generate a git format patch that should preserve the binary file. .. Owen On Fri, May 5, 2017 at 2:43 PM, Juan Rodríguez Hortalá < juan.rodriguez.hort...@gmail.com> wrote: > Hi, > > For HIVE-16539 I created a patch that adds

How to create a patch that contains a binary file

2017-05-05 Thread Juan Rodríguez Hortalá
Hi, For HIVE-16539 I created a patch that adds a new ORC file, using `git diff --no-prefix` as specified in https://cwiki.apache.org/confluence/display/Hive/HowToContribute#HowToContribute-CreatingaPatch. The corresponding jenkins build