git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sam Vilain <sam@vilain.net>
To: Sam Vilain <samv@utsl.gen.nz>
Cc: git@vger.kernel.org
Subject: Re: post-update script to update wc - version 2
Date: Wed, 27 Jun 2007 14:06:56 +1200	[thread overview]
Message-ID: <4681C640.6060408@vilain.net> (raw)
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.

  reply	other threads:[~2007-06-27  2:07 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-27  2:05 post-update script to update wc - version 2 Sam Vilain
2007-06-27  2:06 ` Sam Vilain [this message]
2007-06-27  9:21   ` Alex Riesen
2007-06-27 10:09     ` Junio C Hamano
2007-06-27 12:43       ` Alex Riesen
2007-06-27 22:45     ` Sam Vilain
2007-06-27  7:54 ` Steven Grimm
2007-06-27 23:53   ` Sam Vilain
2007-06-27 10:36 ` Johannes Schindelin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4681C640.6060408@vilain.net \
    --to=sam@vilain.net \
    --cc=git@vger.kernel.org \
    --cc=samv@utsl.gen.nz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).