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

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
Previous: Junio C HamanoNext: David Chanters
Message 4 of 6 in “A note from the maintainer: Follow-up questions (MaintNotes)”
  1. David ChantersAug 30, 2009
  2. Andreas EricssonAug 31, 2009
  3. Junio C HamanoSep 1, 2009
  4. Jeff KingSep 1, 2009
  5. David ChantersSep 1, 2009
  6. Junio C HamanoSep 1, 2009

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.