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

2019-09-19 Thread Johannes Sixt
Am 18.09.19 um 23:44 schrieb Kamil Domański: > On 9/18/19 8:28 AM, Johannes Sixt wrote: >> Am 18.09.19 um 02:11 schrieb Kamil Domański: >>>     DESCRIPTION >>>   --- >>> @@ -21,6 +21,11 @@ commit IDs. >>>     OPTIONS >>>   --- >>> +--count=:: >>> +    By default the command shows all re

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

2019-09-18 Thread Kamil Domański
On 9/18/19 8:28 AM, Johannes Sixt wrote: Am 18.09.19 um 02:11 schrieb Kamil Domański: Create a '--count' option for ls-remote, based on the one from for-each-ref. This allows e.g. to return only the first result from a sorted list of refs. Signed-off-by: Kamil Domański --- Documentation/git-

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

2019-09-18 Thread Junio C Hamano
Johannes Sixt writes: > Am 18.09.19 um 02:11 schrieb Kamil Domański: >> Create a '--count' option for ls-remote, based on the one from >> for-each-ref. This allows e.g. to return only the first result >> from a sorted list of refs. >> >> Signed-off-by: Kamil Domański >> --- >> Documentation/gi

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

2019-09-17 Thread Johannes Sixt
Am 18.09.19 um 02:11 schrieb Kamil Domański: > Create a '--count' option for ls-remote, based on the one from > for-each-ref. This allows e.g. to return only the first result > from a sorted list of refs. > > Signed-off-by: Kamil Domański > --- > Documentation/git-ls-remote.txt | 11 ---

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

2019-09-17 Thread Kamil Domański
Create a '--count' option for ls-remote, based on the one from for-each-ref. This allows e.g. to return only the first result from a sorted list of refs. Signed-off-by: Kamil Domański --- Documentation/git-ls-remote.txt | 11 --- builtin/ls-remote.c | 16 t/t