From: Andreas Ericsson Date: Tue, 03 Jan 2006 19:35:14 GMT Subject: Re: how to find outstanding patches in non-linux-2.6 repositories ? Message-ID: <43BAD1F2.8040209@op5.se> In-Reply-To: <1136315518.11946.28.camel@cashmere.sps.mot.com> Jon Loeliger wrote: > > Could someone remind me where the .. syntax > is documented, please? I went digging, but I am lame > and couldn't find it. > 'man git-rev-parse' gets you the explanation. A ref is tag or a branch, and those are committish. A range such as .. means "include all commits since and including , leading up to (and including) ". When Linus generates patches for the kernel he uses tags as 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, should refer to a descendant of . "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