Re: post-update script to update wc - version 2
- From
Alex Riesen <raa.lkml@gmail.com>
- Date
- Jun 27, 2007, 09:21 UTC
- Message-ID
- <81b0412b0706270221y40bac0a7gf6b73eda9f1e4bb0@mail.gmail.com>
- In-Reply-To
- <4681C640.6060408@vilain.net>
On 6/27/07, Sam Vilain <sam@vilain.net> wrote:
Show 5 quoted lines
> 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}?