reencode_string: use st_add/st_mult helpers
[gitweb.git] / refspec.h
index 7e1ff94ac99e58042d623624226a2aa93605a290..3a9363887c48dbba612ae4de195c30f9d382c00c 100644 (file)
--- a/refspec.h
+++ b/refspec.h
@@ -41,4 +41,12 @@ void refspec_clear(struct refspec *rs);
 
 int valid_fetch_refspec(const char *refspec);
 
+struct argv_array;
+/*
+ * Determine what <prefix> values to pass to the peer in ref-prefix lines
+ * (see Documentation/technical/protocol-v2.txt).
+ */
+void refspec_ref_prefixes(const struct refspec *rs,
+                         struct argv_array *ref_prefixes);
+
 #endif /* REFSPEC_H */