convert add_files_to_cache to take struct pathspec
[gitweb.git] / pathspec.h
index 6baf2058622d0a9d26e5a20547525a60ebd30ccb..02dded322f2428490344f2a124ec3964e12a1e9b 100644 (file)
@@ -51,6 +51,7 @@ struct pathspec {
  */
 #define PATHSPEC_STRIP_SUBMODULE_SLASH_EXPENSIVE (1<<5)
 #define PATHSPEC_PREFIX_ORIGIN (1<<6)
+#define PATHSPEC_KEEP_ORDER (1<<7)
 
 extern int init_pathspec(struct pathspec *, const char **);
 extern void parse_pathspec(struct pathspec *pathspec,