summaryrefslogtreecommitdiff
path: root/refspec.h
diff options
context:
space:
mode:
authorBrandon Williams <bmwill@google.com>2018-05-16 22:58:06 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-05-17 21:19:43 (GMT)
commit860fdf1e6ebd767cf702d952e2dcdccd86e7a208 (patch)
tree354a92ac8ad15ae0e7b8bb8d967a445fdf845f8d /refspec.h
parente4cffacc8047d675983ecdbc7c7c284276514fe1 (diff)
downloadgit-860fdf1e6ebd767cf702d952e2dcdccd86e7a208.zip
git-860fdf1e6ebd767cf702d952e2dcdccd86e7a208.tar.gz
git-860fdf1e6ebd767cf702d952e2dcdccd86e7a208.tar.bz2
refspec: remove the deprecated functions
Now that there are no callers of 'parse_push_refspec()', 'parse_fetch_refspec()', and 'free_refspec()', remove these functions. Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refspec.h')
-rw-r--r--refspec.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/refspec.h b/refspec.h
index 1063c64..7e1ff94 100644
--- a/refspec.h
+++ b/refspec.h
@@ -14,11 +14,6 @@ struct refspec_item {
char *dst;
};
-struct refspec_item *parse_fetch_refspec(int nr_refspec, const char **refspec);
-struct refspec_item *parse_push_refspec(int nr_refspec, const char **refspec);
-
-void free_refspec(int nr_refspec, struct refspec_item *refspec);
-
#define REFSPEC_FETCH 1
#define REFSPEC_PUSH 0