summaryrefslogtreecommitdiff
path: root/builtin-show-branch.c
diff options
context:
space:
mode:
authorLibravatar Kristian Høgsberg <krh@redhat.com>2007-11-12 15:48:22 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2007-11-22 17:05:03 -0800
commitef12b50d0cf0123377a6fb96584a287a6c24346b (patch)
treee0e43b2493b269c2172054ba5be0f60537d8c92e /builtin-show-branch.c
parentbuiltin-commit: Add newline when showing which commit was created (diff)
downloadtgif-ef12b50d0cf0123377a6fb96584a287a6c24346b.tar.xz
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 <krh@redhat.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-show-branch.c')
0 files changed, 0 insertions, 0 deletions