summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2eaf222)
raw | patch | inline | side by side (parent: 2eaf222)
author | Christian Couder <chriscool@tuxfamily.org> | |
Sun, 1 Oct 2006 12:36:49 +0000 (14:36 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 1 Oct 2006 15:41:58 +0000 (08:41 -0700) |
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
refs.c | patch | blob | history |
index 858c53445c01fc0ed0db2affc99ddf9b9c319e19..221eb3896ed10ff75b86ae955454636dd70f71c6 100644 (file)
--- a/refs.c
+++ b/refs.c
strcpy(path + len, e->d_name) &&
!lstat(path, &st) &&
S_ISDIR(st.st_mode) &&
- remove_empty_dir_recursive(path, len + namlen))
+ !remove_empty_dir_recursive(path, len + namlen))
continue; /* happy */
/* path too long, stat fails, or non-directory still exists */