From: Nanako Shiraishi <nanako3@lavabit.com>
To: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Cc: Erik Faye-Lund <kusmabite@gmail.com>, git@vger.kernel.org
Subject: Re: [PATCH] Removed unnecessary use of global variables.
Date: Thu, 12 Mar 2009 06:42:37 +0900 [thread overview]
Message-ID: <20090312064237.6117@nanako3.lavabit.com> (raw)
In-Reply-To: <alpine.DEB.1.00.0903111126280.10279@pacific.mpi-cbg.de>
Quoting Johannes Schindelin <Johannes.Schindelin@gmx.de>:
> Hi,
>
> On Wed, 11 Mar 2009, Erik Faye-Lund wrote:
>
>> git_config() now takes a third data-parameter that is passed back
>> to the callback-function. At the time this code was written, that
>> parameter did not exist, so a somewhat nasty (but by all means
>> correct) use of global variables was introduced. In commit
>> ef90d6d4208a5130185b04f06e5f90a5f9959fe3 Johannes Schindelin
>> <Johannes.Schindelin@gmx.de> introduced a parameter for similar
>> purposes.
>
> We tend to quote commits in this form: ef90d6d(Provide git_config with a
> callback-data parameter)
Your review comments are a subset of the ones Junio sent about 8 hours before you did, and are almost identical except for the comment on the subject line yours didn't have. I'm curious about two things.
1. Are you and Junio one same person, and if so what made you change your mind during these 8 hours ;-)?
2. Junio said "ef90d6d (Provide git_config with a callback-data parameter, 2008-05-14)" and yours is slightly different. Both are equally readable but I think it would help to make sure everybody uses the same format within one project. Do we need a helper command that everybody can use?
--
Nanako Shiraishi
http://ivory.ap.teacup.com/nanako3/
next prev parent reply other threads:[~2009-03-11 21:44 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-11 0:09 [PATCH] Removed unnecessary use of global variables Erik Faye-Lund
2009-03-11 1:19 ` Erik Faye-Lund
2009-03-11 10:31 ` Johannes Schindelin
2009-03-11 10:30 ` [PATCH] " Johannes Schindelin
2009-03-11 21:42 ` Nanako Shiraishi [this message]
2009-03-11 22:00 ` Junio C Hamano
-- strict thread matches above, loose matches on Subject: below --
2009-03-11 1:05 Erik Faye-Lund
2009-03-11 1:52 ` Junio C Hamano
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=20090312064237.6117@nanako3.lavabit.com \
--to=nanako3@lavabit.com \
--cc=Johannes.Schindelin@gmx.de \
--cc=git@vger.kernel.org \
--cc=kusmabite@gmail.com \
/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.