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

Re: tags and patches

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jun 14, 2007, 02:31 UTC
Message-ID
<Pine.LNX.4.64.0706140326350.4059@racer.site>
In-Reply-To
<93c3eada0706131905i1cd43fd2xcc44ce47dca8ce00@mail.gmail.com>
Hi,
On Thu, 14 Jun 2007, Geoff Russell wrote:
Show 5 quoted lines
> On 6/14/07, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
>
> > AFAIK patches are not supposed to _contain_ patches.
> 
> Is this a typo? I expected patches to contain tags, not other patches.

Actually, two typos. Sorry. "AFAIK" -> "AFAICT", and the rest should actually have been written as "formatted patches are not supposed to contain tags."

Show 7 quoted lines
> > What you want is probably a bundle. You don't want a collection of 
> > diffs with comments on them, but you want a collection to reacreate 
> > the history the other side has.
> 
> I didn't know about bundles but do now.  However "git bundle --help" 
> tells me "No manual entry for git-bundle" despite git-bundle.html being 
> in the Documentation directory.

... which probably means that your man pages, and therefore your Git installation, is not up-to-date.

Show 5 quoted lines
> I'm trying to work out if I want to use git to manage a software 
> distribution problem. I distribute release v1.0 to people then later I 
> want to email them a patch to take them from v1.0 to v1.1.  I can 
> probably live without the tags, but am just surprised that patches don't 
> send them.

Patches are just files of the format that "diff" outputs, and "patch" accepts. There was never any possibility to change anything but files.

But then, usually people put the version _into_ files. So I suspect you really don't need tags, if you _have_ to send patches. Because if you _have_ to send patches, your recipients probably don't use Git, and could not use those tags anyway.

Ciao, Dscho

Previous: Geoff Russell
Message 10 of 10 in “tags and patches”
  1. Geoff RussellJun 13, 2007
  2. Pierre HabouzitJun 13, 2007
  3. Geoff RussellJun 13, 2007
  4. Johannes SchindelinJun 13, 2007
  5. Geoff RussellJun 14, 2007
  6. Johannes SchindelinJun 14, 2007
  7. Geoff RussellJun 14, 2007
  8. Jeff KingJun 14, 2007
  9. Geoff RussellJun 14, 2007
  10. Johannes SchindelinJun 14, 2007

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.