Re: [PATCH v11 4/4] ls-remote: create '--sort' option

2018-04-07 Thread Eric Sunshine
On Sat, Apr 7, 2018 at 12:42 PM, Harald Nordgren wrote: > Create a '--sort' option for ls-remote, based on the one from > for-each-ref. This e.g. allows ref names to be sorted by version > semantics, so that v1.2 is sorted before v1.10. > > Signed-off-by: Harald Nordgren

[PATCH v11 4/4] ls-remote: create '--sort' option

2018-04-07 Thread Harald Nordgren
Create a '--sort' option for ls-remote, based on the one from for-each-ref. This e.g. allows ref names to be sorted by version semantics, so that v1.2 is sorted before v1.10. Signed-off-by: Harald Nordgren --- Notes: Rebasing my patch on Jeff King's refatoring