lkml.org 
[lkml]   [2005]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [was: Linux v2.6.14-rc4] fix textsearch build warning


On Wed, 12 Oct 2005, Borislav Petkov wrote:
>
> Hm, I think that this is even merged already, at least the exact same one liner
> I sent is in Linus' git (see commit id dd0fc66fb33cd610bc1a5db8a5e232d34879b4d7). By the way, how
> can you see the patch's source by using the commit id?
>
> git-cat-file "blob" dd0fc66fb33cd610bc1a5db8a5e232d34879b4d7
> says "bad file."

That's because it's not a blob ;)

You can do

git-cat-file -t dd0fc66

and it will tell you it's a "commit" object. Then do

git-cat-file commit dd0fc66

and it will show the actual commit internals, including commit info,
parents and what tree object that commit is associated with.

HOWEVER. What you actually want to see is probably

git-diff-tree -p --pretty dd0fc66

which shows the commit as "patch" (-p) and a "pretty header" (--pretty).

Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2009-11-18 23:46    [W:0.077 / U:5.304 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site