From: Junio C Hamano Date: Wed, 23 May 2018 05:38:15 +0000 (+0900) Subject: Merge branch 'bw/server-options' X-Git-Tag: v2.18.0-rc0~60 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/41267e96972d5a158298f777caecd7433a1b1a94 Merge branch 'bw/server-options' The transport protocol v2 is getting updated further. * bw/server-options: fetch: send server options when using protocol v2 ls-remote: send server options when using protocol v2 serve: introduce the server-option capability --- 41267e96972d5a158298f777caecd7433a1b1a94 diff --cc Documentation/git-ls-remote.txt index 6ad1e34afc,e5defb1b2d..b9fd3770a6 --- a/Documentation/git-ls-remote.txt +++ b/Documentation/git-ls-remote.txt @@@ -60,16 -60,14 +60,24 @@@ OPTION upload-pack only shows the symref HEAD, so it will be the only one shown by ls-remote. +--sort=:: + Sort based on the key given. Prefix `-` to sort in descending order + of the value. Supports "version:refname" or "v:refname" (tag names + are treated as versions). The "version:refname" sort order can also + be affected by the "versionsort.suffix" configuration variable. + See linkgit:git-for-each-ref[1] for more sort options, but be aware + keys like `committerdate` that require access to the objects + themselves will not work for refs whose objects have not yet been + fetched from the remote, and will give a `missing object` error. + + -o