Re: [PATCH v8 10/19] index-helper: use watchman to avoid refreshing index with lstat()
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 5, 2016, 22:47 UTC
- Message-ID
- <xmqqshxw86m8.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <1462484831-13643-11-git-send-email-dturner@twopensource.com>
David Turner <dturner@twopensource.com> writes:
> +extern void write_watchman_ext(struct strbuf *sb, struct index_state* istate);
Asterisk sticks to the variable, not to the type.
> + if (c == sb.buf) {
> + strbuf_setlen(&sb, 0);
> + }Unnecessary braces {}.