git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Git tree/blob and corresponding commit
@ 2008-08-10 17:08 Pascal Obry
  2008-08-10 20:38 ` Jonathan Nieder
  0 siblings, 1 reply; 5+ messages in thread
From: Pascal Obry @ 2008-08-10 17:08 UTC (permalink / raw)
  To: git list


Something I'm trying to figure out and can't find the answer myself. I'm 
browsing a tree, for example:

    $ git ls-tree HEAD~100

This list a set of files with the corresponding blob. Each blob has it's 
own SHA1. Fine.

Now given a SHA1 I'd like to know which commit has created (was 
containing) this specific blob?

What is the best way to achieve that?

Thanks.

-- 

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|              http://www.obry.net
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-08-15 19:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-10 17:08 Git tree/blob and corresponding commit Pascal Obry
2008-08-10 20:38 ` Jonathan Nieder
2008-08-10 20:44   ` Jonathan Nieder
2008-08-14 14:02     ` Pascal Obry
2008-08-15 19:39       ` Bryan Donlan

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).