git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: "Shawn O. Pearce" <spearce@spearce.org>
To: "Horst H. von Brand" <vonbrand@inf.utfsm.cl>
Cc: Junio C Hamano <junkio@cox.net>, git@vger.kernel.org
Subject: Re: [PATCH] Hash name is SHA-1
Date: Thu, 25 Jan 2007 12:01:20 -0500	[thread overview]
Message-ID: <20070125170120.GA13089@spearce.org> (raw)
In-Reply-To: <1169729410294-git-send-email-vonbrand@inf.utfsm.cl>

"Horst H. von Brand" <vonbrand@inf.utfsm.cl> wrote:
> diff --git a/Documentation/git-receive-pack.txt b/Documentation/git-receive-pack.txt
> index 10e8c46..2fafc79 100644
> --- a/Documentation/git-receive-pack.txt
> +++ b/Documentation/git-receive-pack.txt
> @@ -20,7 +20,7 @@ The UI for the protocol is on the 'git-send-pack' side, and the
>  program pair is meant to be used to push updates to remote
>  repository.  For pull operations, see 'git-fetch-pack'.
>  
> -The command allows for creation and fast forwarding of sha1 refs
> +The command allows for creation and fast forwarding of SHA-1 refs

A good cleanup and correction.  We've apparently been a little lax.
Its a noble and worthy goal to make the correction and I applaud
you for doing the hard work.

> diff --git a/builtin-apply.c b/builtin-apply.c
> index 3fefdac..814f78f 100644
> --- a/builtin-apply.c
> +++ b/builtin-apply.c
> @@ -1811,7 +1812,8 @@ static int apply_binary(struct buffer_desc *desc, struct patch *patch)
>  			     "without full index line", name);
>  
>  	if (patch->old_name) {
> -		/* See if the old one matches what the patch
> +		/* 
> +		 * See if the old one matches what the patch
>  		 * applies to.
>  		 */
>  		hash_sha1_file(desc->buffer, desc->size, blob_type, sha1);

However I cannot help but feel that this hunk is unrelated to the
theme of this extremely large patch.  I don't know how Junio feels,
but this late in the 1.5.0 series I'm a little leary of a 1600+
line patch which is changing so much code, even if its something
as trivial as the above hunk.

-- 
Shawn.

  reply	other threads:[~2007-01-25 17:01 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 [this message]
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

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

  List information: http://vger.kernel.org/majordomo-info.html

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

  git send-email \
    --in-reply-to=20070125170120.GA13089@spearce.org \
    --to=spearce@spearce.org \
    --cc=git@vger.kernel.org \
    --cc=junkio@cox.net \
    --cc=vonbrand@inf.utfsm.cl \
    /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.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).