Skip to content

Commit e959fa4

Browse files
vermiculusgitster
authored andcommitted
ls-remote doc: show peeled tags in examples
Without `--refs`, this command will show peeled tags. Make this clearer in the examples to further mitigate the possibility of surprises in consuming scripts. Signed-off-by: Sean Allred <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 21c9bac commit e959fa4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Documentation/git-ls-remote.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,10 @@ c781a84b5204fb294c9ccc79f8b3baceeb32c061 refs/heads/seen
106106

107107
$ git remote add korg http://www.kernel.org/pub/scm/git/git.git
108108
$ git ls-remote --tags korg v\*
109-
d6602ec5194c87b0fc87103ca4d67251c76f233a refs/tags/v0.99
110-
f25a265a342aed6041ab0cc484224d9ca54b6f41 refs/tags/v0.99.1
111-
c5db5456ae3b0873fc659c19fafdde22313cc441 refs/tags/v0.99.2
112-
7ceca275d047c90c0c7d5afb13ab97efdf51bd6e refs/tags/v0.99.3
109+
485a869c64a68cc5795dd99689797c5900f4716d refs/tags/v2.39.2
110+
cbf04937d5b9fcf0a76c28f69e6294e9e3ecd7e6 refs/tags/v2.39.2^{}
111+
d4ca2e3147b409459955613c152220f4db848ee1 refs/tags/v2.40.0
112+
73876f4861cd3d187a4682290ab75c9dccadbc56 refs/tags/v2.40.0^{}
113113
----
114114

115115
SEE ALSO

0 commit comments

Comments
 (0)