summaryrefslogtreecommitdiffstats
path: root/remote.h
diff options
context:
space:
mode:
authorBrandon Williams <bmwill@google.com>2017-04-05 19:47:17 +0200
committerJunio C Hamano <gitster@pobox.com>2017-04-11 09:45:22 +0200
commitc19ae47a7940428f8f3f1c49ecdb8906f03c43fa (patch)
tree7157bb2b8af8bbd0b60f24181a5ea6728d852fcf /remote.h
parentpush: propagate push-options with --recurse-submodules (diff)
downloadgit-c19ae47a7940428f8f3f1c49ecdb8906f03c43fa.tar.xz
git-c19ae47a7940428f8f3f1c49ecdb8906f03c43fa.zip
remote: expose parse_push_refspec function
A future patch needs access to the 'parse_push_refspec()' function so let's export the function so other modules can use it. Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'remote.h')
-rw-r--r--remote.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/remote.h b/remote.h
index dd8c517577..42c8f017b7 100644
--- a/remote.h
+++ b/remote.h
@@ -169,6 +169,7 @@ struct ref *ref_remove_duplicates(struct ref *ref_map);
int valid_fetch_refspec(const char *refspec);
struct refspec *parse_fetch_refspec(int nr_refspec, const char **refspec);
+extern struct refspec *parse_push_refspec(int nr_refspec, const char **refspec);
void free_refspec(int nr_refspec, struct refspec *refspec);