summaryrefslogtreecommitdiff
path: root/src/refspec.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/refspec.h')
-rw-r--r--src/refspec.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/refspec.h b/src/refspec.h
index 2db504910..2f46b3e59 100644
--- a/src/refspec.h
+++ b/src/refspec.h
@@ -20,6 +20,10 @@ struct git_refspec {
};
int git_refspec_parse(struct git_refspec *refspec, const char *str);
+int git_refspec__parse(
+ struct git_refspec *refspec,
+ const char *str,
+ bool is_fetch);
/**
* Transform a reference to its target following the refspec's rules,