Re: [PATCH] Hash name is SHA-1
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Jan 26, 2007, 11:34 UTC
- Message-ID
- <epcouq$co3$1@sea.gmane.org>
- In-Reply-To
- <1169729410294-git-send-email-vonbrand@inf.utfsm.cl>
[Cc: git@vger.kernel.org]
Horst H. von Brand wrote:
Show 12 quoted lines
> @@ -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