Introduce remove_dir_recursively()
commit7155b727c9baae9ef6d7829370aefc09c4ab64e2
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Fri, 28 Sep 2007 15:28:54 +0000 (28 16:28 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sun, 30 Sep 2007 07:04:39 +0000 (30 00:04 -0700)
treebf3a04f7d1081f740b472b48654a3594c59d3bb5
parent90446a0009d9c9c0a06c512f0836e0d30f78d2d0
Introduce remove_dir_recursively()

There was a function called remove_empty_dir_recursive() buried
in refs.c.  Expose a slightly enhanced version in dir.h: it can now
optionally remove a non-empty directory.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
dir.c
dir.h
refs.c