Re: [PATCH 10/17] path.c: drop git_path_submodule

2015-08-11 Thread Jeff King
On Mon, Aug 10, 2015 at 03:57:31PM -0700, Junio C Hamano wrote: > Junio C Hamano writes: > > > Jeff King writes: > > > >> There are no callers of the slightly-dangerous static-buffer > >> git_path_submodule left. Let's drop it. > > > > There are a few callers added on 'pu', though. > > Actuall

Re: [PATCH 10/17] path.c: drop git_path_submodule

2015-08-10 Thread Junio C Hamano
Junio C Hamano writes: > Junio C Hamano writes: > >> Jeff King writes: >> >>> There are no callers of the slightly-dangerous static-buffer >>> git_path_submodule left. Let's drop it. >> >> There are a few callers added on 'pu', though. > > Actually there is only one. Here is a proposed evil me

Re: [PATCH 10/17] path.c: drop git_path_submodule

2015-08-10 Thread Junio C Hamano
Junio C Hamano writes: > Jeff King writes: > >> There are no callers of the slightly-dangerous static-buffer >> git_path_submodule left. Let's drop it. > > There are a few callers added on 'pu', though. Actually there is only one. Here is a proposed evil merge. diff --git a/submodule.c b/subm

Re: [PATCH 10/17] path.c: drop git_path_submodule

2015-08-10 Thread Junio C Hamano
Jeff King writes: > There are no callers of the slightly-dangerous static-buffer > git_path_submodule left. Let's drop it. There are a few callers added on 'pu', though. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More m

[PATCH 10/17] path.c: drop git_path_submodule

2015-08-10 Thread Jeff King
There are no callers of the slightly-dangerous static-buffer git_path_submodule left. Let's drop it. Signed-off-by: Jeff King --- cache.h | 5 ++--- path.c | 10 -- 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/cache.h b/cache.h index 6f74f33..7a4fa90 100644 --- a/cac