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

Re: GNU patch: new 2.6 release

From
Björn Gustavsson <bgustavsson@gmail.com>
Date
Nov 14, 2009, 12:27 UTC
Message-ID
<6672d0160911140427p549dfe66p454376eaed346704@mail.gmail.com>
In-Reply-To
<200911141117.29238.agruen@suse.de>
2009/11/14 Andreas Gruenbacher <agruen@suse.de>:
> Support for git's extended header lines for renames, copies, hashes, file
> modes would be great. I'll happily take patches or eventually implement it
> myself. Binary patches are not as high on my wish list, but feel free to send
> code.

Support for the other extended header lines would be useful for me too. I might have a go at implementing them (and binary patches) at some point in the future.

Show 5 quoted lines
>> That would be very useful in a workflow when you work in git (and have some
>> binary files in the repository), but need to commit your finished work
>> into another VCS (such as Clearcase).
>
> Isn't there a better way to do this than with patches?
If there is a better way, I would be very interested in finding out what it is.

Feeding the output from 'git format-patch' to patch is the best way I've had come up with yet. patch (given the '-g 1' option) will automatically check out the files that are to be patched. I have wrapped that in a simple script that retrieves the commit comment from the patch and check in the files with that commit comment.

/Björn
-- 
Björn Gustavsson, Erlang/OTP, Ericsson AB
Previous: Andreas GruenbacherNext: Thomas Rast
Message 4 of 6 in “GNU patch: new 2.6 release”
  1. Andreas GruenbacherNov 14, 2009
  2. Björn GustavssonNov 14, 2009
  3. Andreas GruenbacherNov 14, 2009
  4. Björn GustavssonNov 14, 2009
  5. Thomas RastNov 15, 2009
  6. Björn GustavssonNov 15, 2009

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.