Re: A note from the maintainer: Follow-up questions (MaintNotes)
- From
Jeff King <peff@peff.net>
- Date
- Sep 1, 2009, 02:55 UTC
- Message-ID
- <20090901025504.GA23589@coredump.intra.peff.net>
- In-Reply-To
- <7v8wgzla02.fsf@alter.siamese.dyndns.org>
On Mon, Aug 31, 2009 at 06:38:37PM -0700, Junio C Hamano wrote:
Show 16 quoted lines
> a71f64a Merge branch 'pk/import-dirs' into pu > ce6cd39 Merge branch 'jh/cvs-helper' into pu > ... > 2178d02 Merge branch 'jc/log-tz' into pu > ... > 927d129 Merge branch 'lt/approxidate' into jch > 35ada54 Merge branch 'tr/reset-checkout-patch' into jch > d82f86c Merge branch 'db/vcs-helper' (early part) into jch > > So if you for example happen to be interested in jc/log-tz topic, > you would do something like: > > $ git checkout -b jc/log-tz 2178d02^2 > $ git log -p master.. > > to check out, and view what changes the topic introduces.
Another alternative: Thomas Rast wrote a handy script called 'git-resurrect' which does this for you. It's carried in the contrib/ section right now. I used it just the other day to pull out the lt/approxidate topic branch, which I then built some follow-up patches for. Usage is something like:
# contrib scripts aren't installed by "make install", # so put it somewhere in your PATH $ cp contrib/git-resurrect.sh ~/bin/git-resurrect
$ git resurrect -m lt/approxidate ** Candidates for lt/approxidate ** 931e8e2 [22 hours ago] fix approxidate parsing of relative months and years ** Restoring lt/approxidate to 931e8e2 fix approxidate parsing of relative months and years
-Peff