From: Alex Riesen Date: Wed, 21 Oct 2009 06:25:01 GMT Subject: Re: ident hash usage question Message-ID: <81b0412b0910202325i7a2f440bxcc9ce3ab9b684b2c@mail.gmail.com> In-Reply-To: <76c5b8580910201519s29b939f3o3f6af8ca50340db1@mail.gmail.com> On Wed, Oct 21, 2009 at 00:19, Eugene Sajine wrote: >>> How is that? It seams to me that git log will show only commits >>> where was changed/committed? Considering the fact that I've got >>> the initial path from the blob, i should get the exact commit history >>> (or last commit in my example) for the file(s) (Files if renaming >>> occurred without content change). >> >> The blob is present in each commit since it was introduced. Except >> when your project contains only that one blob, isn't the state of >> the other parts of an interest? >> > I would question this statement. It seems to me that hash of the file > content is logged only for the commit when it was touched. > Therefore there is very limited amount of actual commits where the > same hash can be met. git rev-list HEAD | while read sha; do git ls-tree $sha; done | grep