transport.c: introduce core.alternateRefsCommand
[gitweb.git] / refspec.h
index 4caaf1f8e3b79a9b68beca5f841dbfc487d154a2..9b6e64a824e4be1025f3f0a07fa5a59296698489 100644 (file)
--- a/refspec.h
+++ b/refspec.h
@@ -32,6 +32,8 @@ struct refspec {
        int fetch;
 };
 
+int refspec_item_init(struct refspec_item *item, const char *refspec,
+                     int fetch);
 void refspec_item_init_or_die(struct refspec_item *item, const char *refspec,
                              int fetch);
 void refspec_item_clear(struct refspec_item *item);