Merge branch 'nd/repo-clear-keep-the-index'

the_repository->index is not a allocated piece of memory but repo_clear() indiscriminately attempted to free(3) it, which has been corrected. * nd/repo-clear-keep-the-index: repository: fix free problem with repo_clear(the_repository)

Junio C Hamano committed May 30, 2018 at 14:04 UTC 0abb9628932717f535f27d4652c07455389db5f3

No changes.