summaryrefslogtreecommitdiff
path: root/remote.h
diff options
context:
space:
mode:
authorBrandon Williams <bmwill@google.com>2018-05-16 22:58:10 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-05-17 21:19:43 (GMT)
commita2ac50cbfd232b5739bafaf6bfdb80c13633b732 (patch)
tree6941b1823ac21d0303f8d6eb99f7e366bd20bbca /remote.h
parentdef11e71932a908bf9e1339f05235d9ba39a2774 (diff)
downloadgit-a2ac50cbfd232b5739bafaf6bfdb80c13633b732.zip
git-a2ac50cbfd232b5739bafaf6bfdb80c13633b732.tar.gz
git-a2ac50cbfd232b5739bafaf6bfdb80c13633b732.tar.bz2
remote: convert get_stale_heads to take a struct refspec
Convert 'get_stale_heads()' 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 'remote.h')
-rw-r--r--remote.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/remote.h b/remote.h
index 4ffbc00..1a45542 100644
--- a/remote.h
+++ b/remote.h
@@ -267,7 +267,7 @@ struct ref *guess_remote_head(const struct ref *head,
int all);
/* Return refs which no longer exist on remote */
-struct ref *get_stale_heads(struct refspec_item *refs, int ref_count, struct ref *fetch_map);
+struct ref *get_stale_heads(struct refspec *rs, struct ref *fetch_map);
/*
* Compare-and-swap