Re: [PATCH 2/2] use absolute_pathdup()

2017-01-27 Thread Junio C Hamano
René Scharfe writes: > Hi Dscho, > > Am 27.01.2017 um 11:21 schrieb Johannes Schindelin: >> On Thu, 26 Jan 2017, René Scharfe wrote: >>> Apply the symantic patch for converting callers that duplicate the >> >> s/symantic/semantic/ > > thank you! I wonder where this came from. And

Re: [PATCH 2/2] use absolute_pathdup()

2017-01-27 Thread René Scharfe
Hi Dscho, Am 27.01.2017 um 11:21 schrieb Johannes Schindelin: On Thu, 26 Jan 2017, René Scharfe wrote: Apply the symantic patch for converting callers that duplicate the s/symantic/semantic/ thank you! I wonder where this came from. And where my spellchecker went without as much as a

Re: [PATCH 2/2] use absolute_pathdup()

2017-01-27 Thread Johannes Schindelin
Hi René, On Thu, 26 Jan 2017, René Scharfe wrote: > Apply the symantic patch for converting callers that duplicate the s/symantic/semantic/ Ciao, Dscho

[PATCH 2/2] use absolute_pathdup()

2017-01-26 Thread René Scharfe
Apply the symantic patch for converting callers that duplicate the result of absolute_path() to call absolute_pathdup() instead, which avoids an extra string copy to a static buffer. Signed-off-by: Rene Scharfe --- builtin/clone.c | 4 ++-- builtin/submodule--helper.c