]> git.ipfire.org Git - thirdparty/git.git/commit - rerere.c
rerere: move code related to "forget" together
authorJunio C Hamano <gitster@pobox.com>
Mon, 14 Mar 2016 22:10:39 +0000 (15:10 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 6 Apr 2016 22:52:40 +0000 (15:52 -0700)
commit3d730ed9b21b5397be7fa5bf89298122980b0f58
tree8bf7fbba6a6191f3ada0d3642357fdbaa6483e20
parent1be1e85115244a3a11f89b75c798823a7dce795f
rerere: move code related to "forget" together

"rerere forget" is the only user of handle_cache() helper, which in
turn is the only user of rerere_io that reads from an in-core buffer
whose getline method is implemented as rerere_mem_getline().  Gather
them together.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
rerere.c