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
TLTeemu Likonen <tlikonen@iki.fi>
Date
Apr 7, 2009, 20:14 UTC
Message-ID
<874ox0w7ak.fsf@iki.fi>
In-Reply-To
<200904072210.05591.markus.heidelberg@web.de>
On 2009-04-07 22:10 (+0200), Markus Heidelberg wrote:
Show 9 quoted lines
> Tim Visher, 07.04.2009:
>> How do you go about showing the version of the file that's in an
>> index.
>
> With version do you mean content? Then
>
>     git cat-file -p :0:file
> or
>     git cat-file -p :file
Or
    git show :file
Previous: Markus HeidelbergNext: Tim Visher
Message 3 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.