From: Thomas Gummerer Date: Thu, 02 Aug 2012 14:11:43 GMT Subject: Re: [PATCH 04/16] Modify write functions to prepare for other index formats Message-ID: <20120802141143.GD1000@tgummerer.unibz.it> In-Reply-To: On 08/02, Nguyen Thai Ngoc Duy wrote: > On Thu, Aug 2, 2012 at 6:01 PM, Thomas Gummerer wrote: > > @@ -1785,7 +1785,7 @@ void update_index_if_able(struct index_state *istate, struct lock_file *lockfile > > rollback_lock_file(lockfile); > > } > > > > -int write_index(struct index_state *istate, int newfd) > > +int write_index_v2(struct index_state *istate, int newfd) > > { > > git_SHA_CTX c; > > struct cache_version_header hdr; > > make it static function too (and read_index_v2 too, I think) > -- > Duy Makes sense, thanks!