remote: convert get_stale_heads to take a struct refspec
authorBrandon Williams <bmwill@google.com>
Wed, 16 May 2018 22:58:10 +0000 (15:58 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 17 May 2018 21:19:43 +0000 (06:19 +0900)
commita2ac50cbfd232b5739bafaf6bfdb80c13633b732
tree6941b1823ac21d0303f8d6eb99f7e366bd20bbca
parentdef11e71932a908bf9e1339f05235d9ba39a2774
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>
builtin/fetch.c
builtin/remote.c
remote.c
remote.h