From: Jonathan Nieder Date: Mon, 30 Jan 2012 03:27:39 GMT Subject: Re: [PATCH 2/3] completion: remove old code Message-ID: <20120130032739.GB10618@burratino> In-Reply-To: Felipe Contreras wrote: > Anyway, aren't there easier ways to get this? Perhaps first checking > if the directory exists, to avoid wasting cycles. > > Something like: > test -d "$d/remotes" && ls -1 "$d/remotes" Yeah, that sounds like a good idea. Could you send a patch that does that? Thanks, Jonathan