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

2018-04-02 Thread Jeff King
On Mon, Apr 02, 2018 at 10:07:36PM +0200, Harald Nordgren wrote: > @@ -108,9 +115,25 @@ int cmd_ls_remote(int argc, const char **argv, const > char *prefix) > continue; > if (!tail_match(pattern, ref->name)) > continue; > + > +

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

2018-04-02 Thread Harald Nordgren
into two threads. Hopefully the patches still make sense though. I will post replies to the original email chain after this message. On Mon, Apr 2, 2018 at 10:12 PM, Junio C Hamano wrote: > Harald Nordgren writes: > >> Subject: Re: [PATCH] ls-remote: create '--sort' option

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

2018-04-02 Thread Junio C Hamano
Harald Nordgren writes: > Subject: Re: [PATCH] ls-remote: create '--sort' option It would be more helpful to mark as [PATCH v2] a rerolled patch like this. > Create a '--sort' option for ls-remote. This is useful e.g. for the Go > repository after the release of v

[PATCH] ls-remote: create '--sort' option

2018-04-02 Thread Harald Nordgren
Create a '--sort' option for ls-remote. This is useful e.g. for the Go repository after the release of version 1.10, where by default v1.10 is sorted before v1.2. See: $ git ls-remote -t https://go.googlesource.com/go ... 205f850ceacfc39d1e9d76a9569416284594ce8crefs