From: Andreas Ericsson <ae@op5.se>
To: Jon Loeliger <jdl@freescale.com>
Cc: Git List <git@vger.kernel.org>
Subject: Re: how to find outstanding patches in non-linux-2.6 repositories ?
Date: Tue, 03 Jan 2006 20:35:14 +0100 [thread overview]
Message-ID: <43BAD1F2.8040209@op5.se> (raw)
In-Reply-To: <1136315518.11946.28.camel@cashmere.sps.mot.com>
Jon Loeliger wrote:
>
> 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
next prev parent reply other threads:[~2006-01-03 19:35 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-01 20:01 how to find outstanding patches in non-linux-2.6 repositories? Olaf Hering
2006-01-01 20:42 ` Brian Gerst
2006-01-01 21:04 ` Olaf Hering
2006-01-01 21:32 ` Johannes Schindelin
2006-01-03 19:11 ` how to find outstanding patches in non-linux-2.6 repositories ? Jon Loeliger
2006-01-03 19:21 ` Marco Roeland
2006-01-03 19:35 ` Andreas Ericsson [this message]
2006-01-04 1:26 ` Tom Prince
2006-01-03 19:41 ` Linus Torvalds
2006-01-01 23:09 ` how to find outstanding patches in non-linux-2.6 repositories? Linus Torvalds
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43BAD1F2.8040209@op5.se \
--to=ae@op5.se \
--cc=git@vger.kernel.org \
--cc=jdl@freescale.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.