All of lore.kernel.org
 help / color / mirror / Atom feed
From: Markus Heidelberg <markus.heidelberg@web.de>
To: Tim Visher <tim.visher@gmail.com>
Cc: Git Mailing List <git@vger.kernel.org>
Subject: Re: Showing the version of a file that's in the Index.
Date: Tue, 7 Apr 2009 22:10:05 +0200	[thread overview]
Message-ID: <200904072210.05591.markus.heidelberg@web.de> (raw)
In-Reply-To: <c115fd3c0904071259y53b4b264u9c9957b68e36cc44@mail.gmail.com>

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

See git-rev-parse(1) "Specifying revisions", the last item.

Markus

  reply	other threads:[~2009-04-07 20:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-07 19:59 Showing the version of a file that's in the Index Tim Visher
2009-04-07 20:10 ` Markus Heidelberg [this message]
2009-04-07 20:14   ` Teemu Likonen
2009-04-07 20:15     ` Tim Visher
2009-04-07 21:57     ` Markus Heidelberg
2009-04-08  5:00       ` Teemu Likonen
2009-04-08 11:04         ` Johannes Schindelin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200904072210.05591.markus.heidelberg@web.de \
    --to=markus.heidelberg@web.de \
    --cc=git@vger.kernel.org \
    --cc=tim.visher@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.