Fix git prompt for modified files that have also been staged before changed again.