Re: [PATCH v3] worktree: add 'list' command
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 11, 2015, 15:46 UTC
- Message-ID
- <xmqqy4hhsu8f.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <1439261725.5283.9.camel@twopensource.com>
David Turner <dturner@twopensource.com> writes:
Show 5 quoted lines
> On Mon, 2015-08-10 at 16:53 -0400, Michael Rappazzo wrote:
>> + while ((d = readdir(dir)) != NULL) {
>
> I think it would be useful to break this loop out into a
> for_each_worktree function.Very good point.