X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=dir.h;h=58b6fc7c86df1bd5ac6f072672027a1474732ac6;hb=b22d301b24b55dc59549833d285decbdd9b1ca53;hp=dd6947e1d46098732ff1d8c3f23087c1e7163fe9;hpb=b661a4bc1e172a9c67bf62bdc2715bd4efbc16e5;p=git.git diff --git a/dir.h b/dir.h index dd6947e1d..58b6fc7c8 100644 --- a/dir.h +++ b/dir.h @@ -102,6 +102,7 @@ extern void setup_standard_excludes(struct dir_struct *dir); #define REMOVE_DIR_EMPTY_ONLY 01 #define REMOVE_DIR_KEEP_NESTED_GIT 02 +#define REMOVE_DIR_KEEP_TOPLEVEL 04 extern int remove_dir_recursively(struct strbuf *path, int flag); /* tries to remove the path with empty directories along it, ignores ENOENT */