Re: Relative ls-files
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 23, 2011, 14:09 UTC
- Message-ID
- <7v7hbqgc7g.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <AANLkTi=BrgZe47Bt5evr_qFzKBL=MY-6NmH22gsRurVV@mail.gmail.com>
Martin Langhoff <martin.langhoff@gmail.com> writes:
> and the answer is git ls-files --with-tree=<treeish> | grep <regex> . > But the --with-tree param is so counterintuitive to me that I read the > manpage, everytime.
Because --with-tree nor ls-files is the tool that was designed for.
If you want to find out about a branch, why aren't you using "ls-tree -r"?