Thread (34 messages) flat view 34 messages, 3 authors, 2016-06-15

Re: [PATCH 20/24] http-fetch: add missing initialization of argv0_path

From: Johannes Sixt <hidden>
Date: 2016-06-15 22:47:42

On Dienstag, 10. November 2009, Junio C Hamano wrote:
Jonathan Nieder [off-list ref] writes:
quoted
Signed-off-by: Jonathan Nieder <redacted>
---
Why do you have inclusion of "exec_cmd.h" in [19/24]?  As far as I can
tell, nothing you do in that patch depends on it.

According to c6dfb39 (remote-curl: add missing initialization of
argv0_path, 2009-10-13), this patch is necessary (and you must include
"exec_cmd.h") on MinGW, regardless of the "give help upon -h" topic.

I think this should be ejected from your series go directly to 'maint', or
am I mistaken?
You are right.

This command (in bash):

comm <(git grepc -l main\( *.c) <(git grepc -l extract_argv0 *.c)

shows programs in the 1st column that have main(), but do not call 
git_extract_argv0_path. One remaining candidate is show-index.c, but its only 
call-out is sha1_to_hex(), which doesn't use any other services.

http-fetch.c is the only file that needs this patch.

-- Hannes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help