Re: [PATCH 2/3] ls-files: support -o --max-depth (more of a hack as fill_directory should support this)
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 7, 2010, 18:01 UTC
- Message-ID
- <7vljg94ww7.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <1262884076-12293-3-git-send-email-pclouds@gmail.com>
Nguyễn Thái Ngọc Duy <pclouds@gmail.com> writes:
> Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> > ---
Subject: Re: [PATCH 2/3] ls-files: support -o --max-depth (more of a hack as fill_directory should support this)
Perhaps you would want to look at how builtin_grep()'s walker and the walker in dir.c can be consolidated? The former has support for max_depth.