From: Sverre Rabbelier Date: Thu, 02 Dec 2010 12:37:24 GMT Subject: Re: [PATCH] fast-import: add 'ls' command Message-ID: In-Reply-To: <1291286420-13591-2-git-send-email-david.barr@cordelta.com> Heya, On Thu, Dec 2, 2010 at 11:40, David Barr wrote: > There are two forms of the 'ls' command, one that takes a tree-ish and > one relative to the index. Allow the tree-ish variant to be used anywhere > a comment is allowed. Allow the index variant to be used within a commit > where file change commands would be used. The commit message doesn't explain why the index variant isn't allowed anywhere a comment is allowed. I assume that's because there's a half-constructed index if you're in the middle of a modify operation or such? -- Cheers, Sverre Rabbelier