Duy Nguyen writes:
> On Sat, Jul 13, 2013 at 12:26 AM, Thomas Gummerer
> wrote:
>> + if (!with_tree) {
>> + memset(opts, 0, sizeof(*opts));
>> + opts->pathspec = &pathspec_struct;
>> + opts->read_staged = 1;
>> + if (show_resolve_und
On Sat, Jul 13, 2013 at 12:26 AM, Thomas Gummerer wrote:
> + if (!with_tree) {
> + memset(opts, 0, sizeof(*opts));
> + opts->pathspec = &pathspec_struct;
> + opts->read_staged = 1;
> + if (show_resolve_undo)
> + op
Use the index api to read only part of the index, if the on-disk version
of the index is index-v5.
Signed-off-by: Thomas Gummerer
---
builtin/ls-files.c | 31 ---
1 file changed, 20 insertions(+), 11 deletions(-)
diff --git a/builtin/ls-files.c b/builtin/ls-files.c
i
3 matches
Mail list logo