From: Ron Garret Date: Sat, 13 Feb 2010 18:41:34 GMT Subject: Re: Individual file snapshots Message-ID: In-Reply-To: In article , Mark Lodato wrote: > On Sat, Feb 13, 2010 at 2:01 AM, Ron Garret wrote: > > Moving the index around seems kinda hacky. You probably want git-mktree. > > git-mktree is way too complicated. I would have to parse the index > and call git-mktree for each directory. Yeah, but think of how studly you'll feel when you do that! ;-) > Besides, using GIT_INDEX_FILE as suggested > by Junio allows me to leave the original index file intact. Yeah, that might actually be a better plan. rg