From: Jeff King Date: Sat, 20 Oct 2007 06:34:28 GMT Subject: Re: Proposed git mv behavioral change Message-ID: <20071020063428.GC30388@coredump.intra.peff.net> In-Reply-To: <1192859758.13347.148.camel@g4mdd.entnet> On Sat, Oct 20, 2007 at 01:55:58AM -0400, Ari Entlich wrote: > Might it be possible to simply get the struct cache_entry for the file > which we want to rename, change its name property (would this involve > xreallocing it?), and change the ce_namelen field of ce_flags? The sort order of entries in the cache is important, so you would have to move the entry, as well. -Peff