Re: [PATCH 2/3] completion: remove old code
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Jan 30, 2012, 03:27 UTC
- Message-ID
- <20120130032739.GB10618@burratino>
- In-Reply-To
- <CAMP44s1H6Db6Xq_iZseXppaTwpBCeu14ySgPfmoQnpELfywQ-Q@mail.gmail.com>
Felipe Contreras wrote:
Show 5 quoted lines
> 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