From: Junio C Hamano Date: Wed, 27 Apr 2016 23:17:14 GMT Subject: Re: [PATCH 01/15] string_list: add string_list_duplicate Message-ID: In-Reply-To: Stefan Beller writes: > Another way to corrupt it is to change the configuration (e.g. add > things to the config hashmap such that it reallocates and grows). You're right. But doesn't it hint that there is a deeper problem? By making a copy and keeping it, you would hold onto a stale value and would not see the result of updates you yourself make to the system.