diff options
Diffstat (limited to 'refspec.h')
-rw-r--r-- | refspec.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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 */ |