Code

builtin-reset: avoid forking "update-index --refresh"
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Sat, 3 Nov 2007 15:21:21 +0000 (15:21 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 6 Nov 2007 06:47:22 +0000 (22:47 -0800)
commit620a6cd42ed5ea94684b22714181bf03871733dd
treea77aaa2feac3be5635d72b54fbc93867b810f32c
parentcdf4a751fa728273030651a769f9f45212ff50c9
builtin-reset: avoid forking "update-index --refresh"

Instead of forking update-index, call refresh_cache() directly.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-reset.c
t/t7102-reset.sh