On 05/15, Ævar Arnfjörð Bjarmason wrote:
>
> On Mon, May 14 2018, Brandon Williams wrote:
>
> > void add_prune_tags_to_fetch_refspec(struct remote *remote)
> > {
> > - int nr = remote->fetch_refspec_nr;
> > - int bufsize = nr + 1;
> > - int size = sizeof(struct refspec_item);
> > -
> > -
On Mon, May 14 2018, Brandon Williams wrote:
> void add_prune_tags_to_fetch_refspec(struct remote *remote)
> {
> - int nr = remote->fetch_refspec_nr;
> - int bufsize = nr + 1;
> - int size = sizeof(struct refspec_item);
> -
> - remote->fetch = xrealloc(remote->fetch, size * bu
Convert the set of fetch refspecs stored in 'struct remote' to use
'struct refspec'.
Signed-off-by: Brandon Williams
---
builtin/fetch.c | 20 ++--
builtin/remote.c | 18 +-
remote.c | 24 ++--
remote.h | 5 +
4 files chan
3 matches
Mail list logo