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

Re: git-diff/git-format-patch safe for GNU (or POSIX) patch?

From
Flavio Poletti <flavio@polettix.it>
Date
Jun 26, 2008, 11:49 UTC
Message-ID
<58284.213.203.159.164.1214480989.squirrel@upmail.polettix.it>
In-Reply-To
<20080626103607.GA16525@diana.vm.bytemark.co.uk>

Thanks for the feedback! I wonder if this feature of patch "ignoring" stuff it doesn't understand is a GNU feature or a POSIX feature, but I'm abusing your patience here. (Incidentally, I also saw that POSIX has no "unified" format, but this "ignoring" feature might apply in a wider sense).

Show 12 quoted lines
>> 4. some hints to use git for working on projects that do not use any
>> other VCS, or for which one only wants to produce and send a quick
>> patch starting from a tarball.
>
> You can use git/contrib/fast-import/import-tars.perl to import the
> last few releases into git (possibly just the last release, if you
> don't need the history) and then just build on that, and send patches
> back to the project when you're done.
>
> When the project makes another release, use import-tars to import the
> new tarball, and then rebase if you have any patches they haven't
> accepted yet.

Importing wasn't actually an issue, just a matter of init/add/commit. I was more scared about the patch production process, i.e. producing a patch that could be perfectly usable by the project's maintainers. But given what you kindly said, I think I can dismiss this as excess of caution by me.

Thanks,
   Flavio.
Previous: Karl HasselströmNext: Karl Hasselström
Message 3 of 5 in “git-diff/git-format-patch safe for GNU (or POSIX) patch?”
  1. Flavio PolettiJun 26, 2008
  2. Karl HasselströmJun 26, 2008
  3. Flavio PolettiJun 26, 2008
  4. Karl HasselströmJun 26, 2008
  5. Petr BaudisJun 26, 2008

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.