Re: [PATCH] fast-import: add 'ls' command
- From
Sverre Rabbelier <srabbelier@gmail.com>
- Date
- Dec 2, 2010, 12:37 UTC
- Message-ID
- <AANLkTi=HuPK+q_+hdkg4yK45UcoOA5PAGi4OmsojCsFa@mail.gmail.com>
- In-Reply-To
- <1291286420-13591-2-git-send-email-david.barr@cordelta.com>
Heya,
On Thu, Dec 2, 2010 at 11:40, David Barr <david.barr@cordelta.com> 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