author | Alex Riesen <raa.lkml@gmail.com> | |
Fri, 26 Sep 2008 22:56:46 +0000 (00:56 +0200) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Mon, 29 Sep 2008 15:37:07 +0000 (08:37 -0700) | ||
commit | 4a92d1bfb784b09641180d164e7d719080165dc4 | |
tree | acefaa70210fdc745519f64de33745d3d0c742cc | tree | snapshot |
parent | b9b378a001d35a64a30a652a45f8084ee2be6cdf | commit | diff |
Add remove_path: a function to remove as much as possible of a path
The function has two potential users which both managed to get wrong
their implementations (the one in builtin-rm.c one has a memleak, and
builtin-merge-recursive.c scribles over its const argument).
Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
The function has two potential users which both managed to get wrong
their implementations (the one in builtin-rm.c one has a memleak, and
builtin-merge-recursive.c scribles over its const argument).
Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
dir.c | diff | blob | history | |
dir.h | diff | blob | history |