On Fri, Feb 7, 2014 at 1:10 AM, Junio C Hamano <gits...@pobox.com> wrote:
> Christian Couder <chrisc...@tuxfamily.org> writes:
>
>> diff --git a/git.c b/git.c
>> index 3799514..1420b58 100644
>> --- a/git.c
>> +++ b/git.c
>> @@ -383,6 +383,7 @@ static void handle_internal_command(int argc, const char 
>> **argv)
>>               { "index-pack", cmd_index_pack, RUN_SETUP_GENTLY },
>>               { "init", cmd_init_db },
>>               { "init-db", cmd_init_db },
>> +             { "interpret-trailers", cmd_interpret_trailers, RUN_SETUP },
>>               { "log", cmd_log, RUN_SETUP },
>>               { "ls-files", cmd_ls_files, RUN_SETUP },
>>               { "ls-remote", cmd_ls_remote, RUN_SETUP_GENTLY },
>
> Does this even need to have a git repository?  What is the RUN_SETUP
> for?

It needs to read git config files, but it could work without reading them too.
I will have another look at it.

Thanks,
Christian.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to