pathspec: add copy_pathspec
[gitweb.git] / pathspec.h
index 788406885fb35634788663e449feb75e3b8d3708..a621676db832d3d7d6c00abc6e162af87dd299c4 100644 (file)
@@ -18,6 +18,7 @@ struct pathspec {
 };
 
 extern int init_pathspec(struct pathspec *, const char **);
+extern void copy_pathspec(struct pathspec *dst, const struct pathspec *src);
 extern void free_pathspec(struct pathspec *);
 
 extern int limit_pathspec_to_literal(void);