aboutsummaryrefslogtreecommitdiff
path: root/remote.c
diff options
context:
space:
mode:
authorBrandon Williams <bmwill@google.com>2017-04-05 10:47:17 -0700
committerJunio C Hamano <gitster@pobox.com>2017-04-11 00:45:22 -0700
commitc19ae47a7940428f8f3f1c49ecdb8906f03c43fa (patch)
tree7157bb2b8af8bbd0b60f24181a5ea6728d852fcf /remote.c
parent2a90556dde47f27e12a3f8adb1397fd05e5b6690 (diff)
downloadgit-c19ae47a7940428f8f3f1c49ecdb8906f03c43fa.tar.gz
git-c19ae47a7940428f8f3f1c49ecdb8906f03c43fa.tar.xz
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.c')
-rw-r--r--remote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/remote.c b/remote.c
index 9f83fe2c4..d335a6417 100644
--- a/remote.c
+++ b/remote.c
@@ -630,7 +630,7 @@ struct refspec *parse_fetch_refspec(int nr_refspec, const char **refspec)
return parse_refspec_internal(nr_refspec, refspec, 1, 0);
}
-static struct refspec *parse_push_refspec(int nr_refspec, const char **refspec)
+struct refspec *parse_push_refspec(int nr_refspec, const char **refspec)
{
return parse_refspec_internal(nr_refspec, refspec, 0, 0);
}