From: Nickolai Belakovski Date: Fri, 18 Jan 2019 22:20:16 GMT Subject: Re: [PATCH v5 1/3] ref-filter: add worktreepath atom Message-ID: In-Reply-To: On Fri, Jan 18, 2019 at 2:17 PM Nickolai Belakovski wrote: > > > I think avoiding this would be check, we can simply check ref->kind == > FILTER_REFS_BRANCHES ahead of calling into get_worktree_path and > provide an empty string otherwise. > *would be check -> would be cheap