summaryrefslogtreecommitdiff
path: root/builtin/gc.c
diff options
context:
space:
mode:
authorChristian Couder <christian.couder@gmail.com>2017-02-27 18:00:12 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-03-01 21:34:51 (GMT)
commit0d59ffb47ed58f519bfa2796d38364496735ab19 (patch)
tree38fecadf6a8c5faa32e04caaeea845299fa214a8 /builtin/gc.c
parent6a5e6f5e4496d5647e9b11352d055efed434029e (diff)
downloadgit-0d59ffb47ed58f519bfa2796d38364496735ab19.zip
git-0d59ffb47ed58f519bfa2796d38364496735ab19.tar.gz
git-0d59ffb47ed58f519bfa2796d38364496735ab19.tar.bz2
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 'builtin/gc.c')
0 files changed, 0 insertions, 0 deletions