From 40a88529080295dd9a4218e1a72d1e8143ee4f7b Mon Sep 17 00:00:00 2001 From: Thomas Gummerer Date: Tue, 19 Jan 2016 00:20:47 +0100 Subject: ls-remote: document --refs option The --refs option was originally introduced in 2718ff0 ("Improve git-peek-remote"). The ls-remote command was first documented in 972b6fe ("ls-remote: drop storing operation and add documentation."), but the --refs option was never documented. Fix this. Signed-off-by: Thomas Gummerer Signed-off-by: Junio C Hamano --- Documentation/git-ls-remote.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Documentation/git-ls-remote.txt') diff --git a/Documentation/git-ls-remote.txt b/Documentation/git-ls-remote.txt index 27380de2a5..7467162adc 100644 --- a/Documentation/git-ls-remote.txt +++ b/Documentation/git-ls-remote.txt @@ -9,7 +9,7 @@ git-ls-remote - List references in a remote repository SYNOPSIS -------- [verse] -'git ls-remote' [--heads] [--tags] [--upload-pack=] +'git ls-remote' [--heads] [--tags] [--refs] [--upload-pack=] [-q | --quiet] [--exit-code] [...] DESCRIPTION @@ -29,6 +29,9 @@ OPTIONS both, references stored in refs/heads and refs/tags are displayed. +--refs:: + Do not show peeled tags or pseudorefs like HEAD in the output. + -q:: --quiet:: Do not print remote URL to stderr. -- cgit v1.2.1