Skip to contentSkip to conversation

misc cleanups to path functions

PATCH In review Ramsay Jones 2 participants 2 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

cover misc cleanups to path functions

Hi Junio,

These patches are from another unfinished branch. However, this time I can't remember why it's unfinished! ;-)

ATB,
Ramsay Jones

Ramsay Jones (5):
path.c: Remove the 'git_' prefix from a file scope function path.c: Don't discard the return value of vsnpath() path.c: Use vsnpath() in the implementation of git_path() Call git_pathdup() rather than xstrdup(git_path("...")) Call mkpathdup() rather than xstrdup(mkpath(...))

 bisect.c          |  2 +-
 builtin/add.c     |  3 ++-
 builtin/branch.c  |  2 +-
 builtin/clone.c   |  4 ++--
 builtin/prune.c   |  2 +-
 merge-recursive.c | 13 +++++++------
 path.c            | 28 ++++++++++------------------
 7 files changed, 24 insertions(+), 30 deletions(-)
Signature · 1 line
1.7.12
#1 lore raw
Quoted 2 lines · Ramsay Jones

These patches are from another unfinished branch. However, this time I can't remember why it's unfinished! ;-)

That scares me. Perhaps you found some hard-to-debug problem but didn't have time to follow it through, or something?

;-)

Thanks.

Quoted 19 lines

ATB,
Ramsay Jones

Ramsay Jones (5):
path.c: Remove the 'git_' prefix from a file scope function path.c: Don't discard the return value of vsnpath() path.c: Use vsnpath() in the implementation of git_path() Call git_pathdup() rather than xstrdup(git_path("...")) Call mkpathdup() rather than xstrdup(mkpath(...))

 bisect.c          |  2 +-
 builtin/add.c     |  3 ++-
 builtin/branch.c  |  2 +-
 builtin/clone.c   |  4 ++--
 builtin/prune.c   |  2 +-
 merge-recursive.c | 13 +++++++------
 path.c            | 28 ++++++++++------------------
 7 files changed, 24 insertions(+), 30 deletions(-)