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

Re: Showing the version of a file that's in the Index.

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Apr 8, 2009, 11:04 UTC
Message-ID
<alpine.DEB.1.00.0904081303400.9157@intel-tinevez-2-302>
In-Reply-To
<87y6ubvix7.fsf@iki.fi>
Hi,
On Wed, 8 Apr 2009, Teemu Likonen wrote:
Show 14 quoted lines
> On 2009-04-07 23:57 (+0200), Markus Heidelberg wrote:
> 
> > Teemu Likonen, 07.04.2009:
> >> Or
> >> 
> >>     git show :file
> >
> > Huh, I use git-show daily for commits, but I completely forgot about it
> > for files when replying.
> 
> It's nice for trees too:
> 
>     git show HEAD~3:
>     git show master~1:directory/

But that's not in the index, and my patch to show cache-trees was rejected.

Ciao, Dscho

Previous: Teemu Likonen
Message 7 of 7 in “Showing the version of a file that's in the Index.”
  1. Tim VisherApr 7, 2009
  2. Markus HeidelbergApr 7, 2009
  3. Teemu LikonenApr 7, 2009
  4. Tim VisherApr 7, 2009
  5. Markus HeidelbergApr 7, 2009
  6. Teemu LikonenApr 8, 2009
  7. Johannes SchindelinApr 8, 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.