aboutsummaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorChristian Couder <christian.couder@gmail.com>2017-02-27 19:00:12 +0100
committerJunio C Hamano <gitster@pobox.com>2017-03-01 13:34:51 -0800
commit0d59ffb47ed58f519bfa2796d38364496735ab19 (patch)
tree38fecadf6a8c5faa32e04caaeea845299fa214a8 /config.c
parent6a5e6f5e4496d5647e9b11352d055efed434029e (diff)
downloadgit-0d59ffb47ed58f519bfa2796d38364496735ab19.tar.gz
git-0d59ffb47ed58f519bfa2796d38364496735ab19.tar.xz
read-cache: touch shared index files when used
When a split-index file is created, let's update the mtime of the shared index file that the split-index file is referencing. In a following commit we will make shared index file expire depending on their mtime, so updating the mtime makes sure that the shared index file will not be deleted soon. Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'config.c')
0 files changed, 0 insertions, 0 deletions