From: Tanay Abhra <tanayabh@gmail.com>
To: Matthieu Moy <Matthieu.Moy@grenoble-inp.fr>
Cc: git@vger.kernel.org, Ramkumar Ramachandra <artagnon@gmail.com>
Subject: Re: [PATCH v4 1/2] add `config_set` API for caching config files
Date: Fri, 04 Jul 2014 14:55:54 +0530 [thread overview]
Message-ID: <53B67322.1080408@gmail.com> (raw)
In-Reply-To: <vpq1tu1xz2g.fsf@anie.imag.fr>
On 7/4/2014 2:47 PM, Matthieu Moy wrote:
> Tanay Abhra <tanayabh@gmail.com> writes:
>
>> Hi,
>>
>> I have cooked up a single hashmap implementation. What are your
>> thoughts about it?
>
> I had a quick look, and it looks good to me. I'll make a more detailed
> review when you send the next series.
>
One more doubt, does <filename,linenr> for every value has any use other than
raising semantic error in typespecific API functions.
For example, if we call git_config_get_int(foo.bar), we can show to the user
"value not a int at <filename, linenr>". Other than that I cannot think of
any other use of it. Currently `git_config_int` dies if value put for
parsing is not an int.
Junio and Karsten, both raised the point for saving <filename,linenr>, but I can't
find any use cases for it other than what I mentioned above.
Thanks.
Tanay.
next prev parent reply other threads:[~2014-07-04 9:26 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-02 6:01 [PATCH v4 0/3] git config cache & special querying api utilizing the cache Tanay Abhra
2014-07-02 6:01 ` [PATCH v4 1/2] add `config_set` API for caching config files Tanay Abhra
2014-07-02 9:14 ` Matthieu Moy
2014-07-02 11:58 ` Tanay Abhra
2014-07-02 14:32 ` Matthieu Moy
2014-07-02 17:09 ` Junio C Hamano
2014-07-04 4:58 ` Tanay Abhra
2014-07-04 9:17 ` Matthieu Moy
2014-07-04 9:25 ` Tanay Abhra [this message]
2014-07-04 9:43 ` Matthieu Moy
2014-07-07 17:02 ` Junio C Hamano
2014-07-02 17:00 ` Junio C Hamano
2014-07-02 17:09 ` Matthieu Moy
2014-07-03 17:05 ` Tanay Abhra
2014-07-02 6:01 ` [PATCH 2/2] test-config: Add tests for the config_set API Tanay Abhra
2014-07-02 9:29 ` Matthieu Moy
2014-07-02 12:04 ` Tanay Abhra
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=53B67322.1080408@gmail.com \
--to=tanayabh@gmail.com \
--cc=Matthieu.Moy@grenoble-inp.fr \
--cc=artagnon@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 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).