Re: post-update script to update wc - version 2
- From
Sam Vilain <sam@vilain.net>
- Date
- Jun 27, 2007, 02:06 UTC
- Message-ID
- <4681C640.6060408@vilain.net>
- In-Reply-To
- <E1I3MuE-0005eO-00@www.watts.utsl.gen.nz>
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.
Sam.