diff options
author | Christian Couder <christian.couder@gmail.com> | 2017-03-06 10:42:00 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-03-06 12:09:28 -0800 |
commit | de6ae5f9e3e0960e2adcba4688ed4293edc8424a (patch) | |
tree | f3b3f0a45100e1cf7525047f4a242d2efe7c82e1 /contrib/examples/git-fetch.sh | |
parent | t1700: test shared index file expiration (diff) | |
download | tgif-de6ae5f9e3e0960e2adcba4688ed4293edc8424a.tar.xz |
read-cache: refactor read_index_from()
It looks better and is simpler to review when we don't compute
the same things many times in the function.
It will also help make the following commit simpler.
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/examples/git-fetch.sh')
0 files changed, 0 insertions, 0 deletions