Fixed warnings in git after Index delayed write

TBR: @ussuri