All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jakub Narebski <jnareb@gmail.com>
To: git@vger.kernel.org
Subject: Re: [PATCH] Hash name is SHA-1
Date: Fri, 26 Jan 2007 12:34:55 +0100	[thread overview]
Message-ID: <epcouq$co3$1@sea.gmane.org> (raw)
In-Reply-To: 1169729410294-git-send-email-vonbrand@inf.utfsm.cl

[Cc: git@vger.kernel.org]

Horst H. von Brand wrote:
> @@ -30,12 +30,12 @@ and executable, it is called with three parameters:
>  
>         $GIT_DIR/hooks/update refname sha1-old sha1-new
>  
> -The refname parameter is relative to $GIT_DIR; e.g. for the
> -master head this is "refs/heads/master".  Two sha1 are the
> -object names for the refname before and after the update.  Note
> -that the hook is called before the refname is updated, so either
> -sha1-old is 0{40} (meaning there is no such ref yet), or it
> -should match what is recorded in refname.
> +The refname parameter is relative to $GIT_DIR; e.g. for the master
> +head this is "refs/heads/master".  The two sha1 are the object names
                                              ^^^^
> +for the refname before and after the update.  Note that the hook is
> +called before the refname is updated, so either sha1-old is 0{40}
> +(meaning there is no such ref yet), or it should match what is
> +recorded in refname.

First, it does some reformatting instead of making documentation
always use SHA-1.  Second, it does not replace sha1 by SHA-1 (sic!).

-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git

      parent reply	other threads:[~2007-01-26 11:34 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-25 12:50 Some cleanups Horst H. von Brand
2007-01-25 12:50 ` [PATCH] Hash name is SHA-1 Horst H. von Brand
2007-01-25 17:01   ` Shawn O. Pearce
2007-01-25 17:10     ` Nicolas Pitre
2007-01-25 18:56       ` Horst H. von Brand
2007-01-25 19:05         ` Shawn O. Pearce
2007-01-25 23:03   ` Matthias Lederhofer
2007-01-25 23:44     ` Junio C Hamano
2007-01-26 11:54       ` Andy Parkins
2007-01-26 23:46         ` Junio C Hamano
2007-01-26 11:34   ` Jakub Narebski [this message]

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='epcouq$co3$1@sea.gmane.org' \
    --to=jnareb@gmail.com \
    --cc=git@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.