Re: [PATCH] tag: support mixing --sort=<spec> and -n

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: [PATCH] tag: support mixing --sort=<spec> and -n

From: Junio C Hamano <hidden>
Date: 2016-06-15 23:06:28

Karthik Nayak [off-list ref] writes:
On Sun, Sep 6, 2015 at 3:55 AM, Jacob Keller [off-list ref] wrote:
quoted
On Sat, Sep 5, 2015 at 10:52 AM, Rudy Matela [off-list ref] wrote:
quoted
Allow -n and --sort=version:refname to be used together
instead of failing with:

  fatal: --sort and -n are incompatible

Signed-off-by: Rudy Matela <redacted>
Nice! I've been wondering about this one for a while. Especially since
implementing tag.sort configuration which made -n not work at all.

Note that it may be worth rebasing this on top of Karthik's part tag
to use ref-filter series, since I think there will be plenty of merge
conflicts there...
Its already resolved in my series. We use ref-filter's sorting APIs
there :)
I guess Jacob needs to rebase that tag.sort thing on top of yours,
then ;-)?

Re: [PATCH] tag: support mixing --sort=<spec> and -n

From: Jacob Keller <hidden>
Date: 2016-06-15 23:06:28

On Sat, Sep 5, 2015 at 9:38 PM, Junio C Hamano [off-list ref] wrote:
Karthik Nayak [off-list ref] writes:
quoted
On Sun, Sep 6, 2015 at 3:55 AM, Jacob Keller [off-list ref] wrote:
quoted
On Sat, Sep 5, 2015 at 10:52 AM, Rudy Matela [off-list ref] wrote:
quoted
Allow -n and --sort=version:refname to be used together
instead of failing with:

  fatal: --sort and -n are incompatible

Signed-off-by: Rudy Matela <redacted>
Nice! I've been wondering about this one for a while. Especially since
implementing tag.sort configuration which made -n not work at all.

Note that it may be worth rebasing this on top of Karthik's part tag
to use ref-filter series, since I think there will be plenty of merge
conflicts there...
Its already resolved in my series. We use ref-filter's sorting APIs
there :)
I guess Jacob needs to rebase that tag.sort thing on top of yours,
then ;-)?
Ya.. I wasn't sure if this was resolved, and I ended up deciding to
wait until after the tag re-write landed to look at that again.

Regards,
Jake
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help