Re: [PATCH 1/2] diff/status: refactor opportunistic index update

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Piotr Krukowiecki <piotr.krukowiecki@xxxxxxxxx> writes:

> On Mon, Mar 21, 2011 at 6:16 PM, Junio C Hamano <gitster@xxxxxxxxx> wrote:
>> +void update_index_if_able(struct index_state *istate, struct lock_file *lockfile)
>> +{
>> + Â Â Â if (istate->cache_changed) &&
>> + Â Â Â Â Â !write_index(istate, lockfile->fd))
>
> Mismatched parenthesis? Should be sth like
>
> + Â Â Â if (istate->cache_changed &&
> + Â Â Â Â Â !write_index(istate, lockfile->fd))

Yeah, "rebase -i" gotcha.  Applying [2/2] should get rid of it anyway.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]