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

3 messages, 3 authors, 2016-06-15 · open the first message on its own page

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

From: Teemu Likonen <hidden>
Date: 2016-06-15 22:46:34

On 2009-04-07 22:10 (+0200), Markus Heidelberg wrote:
Tim Visher, 07.04.2009:
quoted
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

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

From: Tim Visher <hidden>
Date: 2016-06-15 22:46:34

On Tue, Apr 7, 2009 at 4:14 PM, Teemu Likonen [off-list ref] wrote:
On 2009-04-07 22:10 (+0200), Markus Heidelberg wrote:
quoted
Tim Visher, 07.04.2009:
quoted
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
Nice.  Thank you!

-- 

In Christ,

Timmy V.

http://burningones.com/
http://five.sentenc.es/ - Spend less time on e-mail

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

From: Markus Heidelberg <hidden>
Date: 2016-06-15 22:46:34

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. I already felt strange about having to pass an
option.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help