Re: [PATCH 2/8] move prune_cache() to git lib
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 8, 2009, 19:19 UTC
- Message-ID
- <7vhc0zkl5t.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <1239185133-4181-3-git-send-email-pclouds@gmail.com>
Nguyễn Thái Ngọc Duy <pclouds@gmail.com> writes:
> +#define prune_cache(prefix, prefix_len) prune_index((prefix), (prefix_len), &the_index); > ... > +extern void prune_index(const char *prefix, int prefix_len, struct index_state *istate);
Please make *istate the first parameter to be consistent with other distim_cache() wrappers for distim_index().