Commit ef12b50d authored by Committed by Junio C Hamano
Call refresh_cache() when updating the user index for --only commits.
We're guaranteeing the user that the index will be stat-clean after git commit. Thus, we need to call refresh_cache() for the user index too, in the 'git commit <paths>' case. Signed-off-by: Kristian Høgsberg <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
Showing with 1 addition and 0 deletions