On 6/27/07, Sam Vilain <sam@xxxxxxxxxx> wrote:
Sam Vilain wrote: > this_tree=`git-cat-file commit $commit | awk '/^tree/ { print $2; exit }'` Of course on newer git, `git-rev-parse $commit:` will do that.
Are you sure? Maybe you mean git-rev-parse "$commit"^{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