From: Christoph Duelli <duelli@melosgmbh.de>
To: git@vger.kernel.org
Subject: finding the commit that deleted a file
Date: Thu, 30 Apr 2009 09:31:08 +0200 [thread overview]
Message-ID: <49F953BC.7070303@melosgmbh.de> (raw)
Following scenario:
Some file x was deleted (or renamed, but the --follow option does not
succeed) some 100 commits ago.
Now, I would like to check the 'lost' contents for some reason.
Is it possible to find out when a given file (path) was deleted?
(And then, with the obtained SHA1, use gitk or some such tool to inspect
this file.)
Thank you.
Best regards
--
Christoph Duelli
next reply other threads:[~2009-04-30 7:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-30 7:31 Christoph Duelli [this message]
2009-04-30 7:41 ` finding the commit that deleted a file Alex Riesen
2009-04-30 8:25 ` Baz
2009-04-30 8:33 ` Christoph Duelli
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=49F953BC.7070303@melosgmbh.de \
--to=duelli@melosgmbh.de \
--cc=git@vger.kernel.org \
/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).