Re: [PATCH v7 07/17] ref-filter: make %(upstream:track) prints "[gone]" for invalid upstreams

2016-11-12 Thread Karthik Nayak
On Wed, Nov 9, 2016 at 5:07 AM, Jacob Keller wrote: >> Make changes to t/t6300-for-each-ref.sh and >> Documentation/git-for-each-ref.txt to reflect this change. >> > > This will change behavior if people were expecting it to remain > silent, but I think this could be considered a bug. > Didn't ge

Re: [PATCH v7 07/17] ref-filter: make %(upstream:track) prints "[gone]" for invalid upstreams

2016-11-08 Thread Jacob Keller
On Tue, Nov 8, 2016 at 12:12 PM, Karthik Nayak wrote: > From: Karthik Nayak > > Borrowing from branch.c's implementation print "[gone]" whenever an > unknown upstream ref is encountered instead of just ignoring it. > This makes sense. > This makes sure that when branch.c is ported over to using

[PATCH v7 07/17] ref-filter: make %(upstream:track) prints "[gone]" for invalid upstreams

2016-11-08 Thread Karthik Nayak
From: Karthik Nayak Borrowing from branch.c's implementation print "[gone]" whenever an unknown upstream ref is encountered instead of just ignoring it. This makes sure that when branch.c is ported over to using ref-filter APIs for printing, this feature is not lost. Make changes to t/t6300-for