From: Nguyen Thai Ngoc Duy Date: Thu, 02 Aug 2012 12:22:58 GMT Subject: Re: [PATCH 04/16] Modify write functions to prepare for other index formats Message-ID: In-Reply-To: <1343905326-23790-5-git-send-email-t.gummerer@gmail.com> 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