git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: jidanni@jidanni.org
Cc: git@vger.kernel.org
Subject: Re: [PATCH] gitrepository-layout: No longer first two letters. Also add "down".
Date: Fri, 26 Dec 2008 12:07:48 -0800	[thread overview]
Message-ID: <7veizuog2z.fsf@gitster.siamese.dyndns.org> (raw)
In-Reply-To: <E1LGFoE-0001EZ-0F@jidanni.org> (jidanni@jidanni.org's message of "Sat, 27 Dec 2008 00:43:07 +0800")

jidanni@jidanni.org writes:

> Signed-off-by: jidanni <jidanni@jidanni.org>

First off, when I tried to respond to your message, I got this:

    Cc: undisclosed-recipients:;

which I had to edit it to point at the list.

I think you did "Bcc: git@vger.kernel.org" without any explicit recipient;
please don't.  It wastes everybody's time.

Second, please realize that the Subject: line is one of the most important
piece of information in your patch submission.  It is used as the summary
of what this change is about in the shortlog output.  2 months from now,
do you think anybody (other than you) can guess what the "first two
letters" is about among 400 other changes?

I would have preferred the Subject: and the commit log message like this
for this patch:

    Subject: [PATCH] Fix description of objects/??/ directories in the repository-layout doc

    These fan-out directories are no longer first two letters.  Also fix
    a sentence that meant to say "keep something down" but forgot "down".

That is, summarize what this patch is about on Subject: line, and explain
why the change is a good idea (in other words, why the current one is bad)
in the commit log message.

I agree with the "down" fix; thanks for catching this grammatical and
semantic error.

I however do not understand the reason behind the former "two letters"
change.

When creating a new object, the filename to hold it when its object name
is e.g. 92b35d66d0e335771c2e4a4a79f95adb844b1f91 (that's a tag object for
v1.6.1 if anybody cares) is computed by taking its first two letters "92"
and using that to choose ".git/object/92" as the containing "fan-out"
directory.  The file in that directory is named using the remainder of the
object name.

The entry in the repository layout document explains what the directories
with two-letter names you find in objects/ directory are, and I do not see
a reason why you want to say "no longer first two letters".  Their names
still are, and very likely continue to be, two-letter long.

Maybe I misunderstood what you wanted to say by "no longer...".  Did you
mean (unlike the sample commit log message I suggested above):

    Subject: [PATCH] Fix description of objects/??/ directories in the repository-layout doc

    Do not say first two letters anymore.  Also fix a sentence that meant
    to say "keep something down" but forgot "down".

If that is the case, please justify why you think it is better not to say
"first two letters" the documentation.

Thanks.

  reply	other threads:[~2008-12-26 20:10 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-26 16:43 [PATCH] gitrepository-layout: No longer first two letters. Also add "down" jidanni
2008-12-26 20:07 ` Junio C Hamano [this message]
2008-12-26 20:19   ` jidanni
2008-12-26 21:30     ` Junio C Hamano
2008-12-26 23:08       ` jidanni
2008-12-26 22:02 ` Nanako Shiraishi
2008-12-26 22:42   ` commit.template jidanni
2008-12-26 23:44     ` commit.template Junio C Hamano
2008-12-26 23:50     ` commit.template Boyd Stephen Smith Jr.
2008-12-27  0:01       ` commit.template jidanni
2008-12-27  0:53         ` commit.template Boyd Stephen Smith Jr.
2008-12-27  1:04           ` commit.template jidanni
2008-12-27  1:48             ` commit.template Boyd Stephen Smith Jr.
2008-12-27  2:00               ` commit.template jidanni
2008-12-27  0:07   ` commit.template Nanako Shiraishi
2008-12-27  0:13     ` commit.template Junio C Hamano
2008-12-27  0:16       ` commit.template Junio C Hamano
2008-12-28 17:00   ` [PATCH] gitrepository-layout: No longer first two letters. Also add "down" Sverre Rabbelier
2008-12-29  8:52   ` Nanako Shiraishi

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=7veizuog2z.fsf@gitster.siamese.dyndns.org \
    --to=gitster@pobox.com \
    --cc=git@vger.kernel.org \
    --cc=jidanni@jidanni.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 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).