Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Add selftest for 'git submodule foreach'
[gitweb.git]
/
refs.c
diff --git
a/refs.c
b/refs.c
index e49eaa3089c39028e3c0af90422672db63fff198..dd9c9ba3f6cb1b7e742adaee89cc406c44d77367 100644
(file)
--- a/
refs.c
+++ b/
refs.c
@@
-821,7
+821,7
@@
static int remove_empty_directories(const char *file)
strbuf_init(&path, 20);
strbuf_addstr(&path, file);
- result = remove_dir_recursively(&path,
1
);
+ result = remove_dir_recursively(&path,
REMOVE_DIR_EMPTY_ONLY
);
strbuf_release(&path);