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

Re: how to find outstanding patches in non-linux-2.6 repositories ?

From
Andreas Ericsson <ae@op5.se>
Date
Jan 3, 2006, 19:35 UTC
Message-ID
<43BAD1F2.8040209@op5.se>
In-Reply-To
<1136315518.11946.28.camel@cashmere.sps.mot.com>
Jon Loeliger wrote:
Show 5 quoted lines
> 
> Could someone remind me where the <ref>..<ref> syntax
> is documented, please?  I went digging, but I am lame
> and couldn't find it.
> 

'man git-rev-parse' gets you the <committish> explanation. A ref is tag or a branch, and those are committish. A range such as <committish1>..<committish2> means "include all commits since and including <committish1>, leading up to (and including) <committish2>".

When Linus generates patches for the kernel he uses tags as <committish> and does something like this: git diff v2.6.14..v2.6.15 | gzip -9f > linux-2.6.14-2.6.15.patch.gz

You can mix tags, commits and branches any way you like, so long as you get the commitological order right. That is, <committish2> should refer to a descendant of <committish1>.

"origin..HEAD" is a valid and fairly common range. "HEAD..origin" is not (well, it is, but it doesn't include any commits since it's going backwards).

I don't know where to find a more complete explanation, but at least google should provide this one once it has gotten round to indexing this mail.

Now lets just have to hope I didn't get it all wrong. :)
-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231
Previous: Marco RoelandNext: Tom Prince
Message 7 of 10 in “how to find outstanding patches in non-linux-2.6 repositories?”
  1. Olaf HeringJan 1, 2006
  2. Brian GerstJan 1, 2006
  3. Olaf HeringJan 1, 2006
  4. Johannes SchindelinJan 1, 2006
  5. Jon LoeligerJan 3, 2006
  6. Marco RoelandJan 3, 2006
  7. Andreas EricssonJan 3, 2006
  8. Tom PrinceJan 4, 2006
  9. Linus TorvaldsJan 3, 2006
  10. Linus TorvaldsJan 1, 2006

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.