git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Uwe Kleine-König" <ukleinek@informatik.uni-freiburg.de>
To: Nikodemus Siivola <nikodemus@random-state.net>
Cc: git@vger.kernel.org
Subject: Re: Restoring files from old commits
Date: Wed, 15 Aug 2007 20:27:09 +0200	[thread overview]
Message-ID: <20070815182709.GC1644@informatik.uni-freiburg.de> (raw)
In-Reply-To: <6bcc356f0708151022v6cb8c348nb19690c81e489c5d@mail.gmail.com>

Hello Nikodemus,

Nikodemus Siivola wrote:
> So what I'd like is something like
> 
>  git cat-path <commit> <path-in-the-tree-referenced-by-that-commit>
Try:

	git show  <commit>:<path-in-the-tree-referenced-by-that-commit>

Best regards
Uwe

-- 
Uwe Kleine-König

http://www.google.com/search?q=half+a+cup+in+teaspoons

      parent reply	other threads:[~2007-08-15 18:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-14 12:09 Restoring files from old commits Nikodemus Siivola
2007-07-14 12:37 ` martin f krafft
2007-07-14 14:32   ` Alex Riesen
2007-07-14 18:50     ` Junio C Hamano
2007-07-15  8:41       ` Alex Riesen
2007-08-15 17:22         ` Nikodemus Siivola
2007-08-15 17:28           ` Salikh Zakirov
2007-08-15 18:27           ` Uwe Kleine-König [this message]

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=20070815182709.GC1644@informatik.uni-freiburg.de \
    --to=ukleinek@informatik.uni-freiburg.de \
    --cc=git@vger.kernel.org \
    --cc=nikodemus@random-state.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).