Dmitry Potapov <dpotapov@xxxxxxxxx> writes: > On Mon, Apr 28, 2008 at 02:39:46AM -0400, John Wiegley wrote: >> I published another tutorial on Git today, this one describing the >> system from a "bottom up" perspective. I know it's been written about >> this way before, but I was aiming at a bit more thoroughness, and a >> paced introduction to the basics. >> >> There's a link to the PDF is in the following blog post: >> >> http://www.newartisans.com/blog_files/git.from.bottom.up.php > > In addition to what was mentioned before me: > > On page 6, instead of `git show --pretty=format:%T HEAD | head -1`, it > is better to use `git log -1 --pretty=format:'%T' HEAD`. In general, > `git show <commit-object>` is `git log -1 -p <commit-object>`, and > you do not need diff here. I may be misunderstanding what the discussion is about as I was not following the thread, but is this a contest to find the most expensive way to spell "git rev-parse HEAD^{tree}"? -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html