summaryrefslogtreecommitdiff
path: root/builtin/fast-export.c
diff options
context:
space:
mode:
authorBrandon Williams <bmwill@google.com>2018-05-16 22:58:11 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-05-17 21:19:43 (GMT)
commitd000414e26654f6f13526e4b83c648d7119586f0 (patch)
tree4562ac589c3c0121f1d1f815a8ae2c5d4e352503 /builtin/fast-export.c
parenta2ac50cbfd232b5739bafaf6bfdb80c13633b732 (diff)
downloadgit-d000414e26654f6f13526e4b83c648d7119586f0.zip
git-d000414e26654f6f13526e4b83c648d7119586f0.tar.gz
git-d000414e26654f6f13526e4b83c648d7119586f0.tar.bz2
remote: convert apply_refspecs to take a struct refspec
Convert 'apply_refspecs()' to take a 'struct refspec' as a parameter instead of a list of 'struct refspec_item'. Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/fast-export.c')
-rw-r--r--builtin/fast-export.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/fast-export.c b/builtin/fast-export.c
index 1439997..41fe49e 100644
--- a/builtin/fast-export.c
+++ b/builtin/fast-export.c
@@ -831,7 +831,7 @@ static void get_tags_and_duplicates(struct rev_cmdline_info *info)
if (refspecs.nr) {
char *private;
- private = apply_refspecs(refspecs.items, refspecs.nr, full_name);
+ private = apply_refspecs(&refspecs, full_name);
if (private) {
free(full_name);
full_name = private;