Re: [PATCH v3 04/11] for-each-ref: add '--points-at' option

2015-06-16 Thread karthik nayak
On Tue, Jun 16, 2015 at 9:30 PM, Matthieu Moy wrote: > Karthik Nayak writes: > >> --- a/Documentation/git-for-each-ref.txt >> +++ b/Documentation/git-for-each-ref.txt >> @@ -62,6 +63,8 @@ OPTIONS >> the specified host language. This is meant to produce >> a scriptlet that can directl

Re: [PATCH v3 04/11] for-each-ref: add '--points-at' option

2015-06-16 Thread Matthieu Moy
Karthik Nayak writes: > --- a/Documentation/git-for-each-ref.txt > +++ b/Documentation/git-for-each-ref.txt > @@ -62,6 +63,8 @@ OPTIONS > the specified host language. This is meant to produce > a scriptlet that can directly be `eval`ed. > > +--points-at :: > + Only list refs of

[PATCH v3 04/11] for-each-ref: add '--points-at' option

2015-06-16 Thread Karthik Nayak
Add the '--points-at' option provided by 'ref-filter'. The option lets the user to pick only refs which point to a particular commit. Add documentation and tests for the same. Based-on-patch-by: Jeff King Mentored-by: Christian Couder Mentored-by: Matthieu Moy Signed-off-by: Karthik Nayak ---