git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] push: fix usage: --tags is incompatible with --all and --mirror

From
Björn Gustavsson <bgustavsson@gmail.com>
Date
Oct 15, 2009, 16:39 UTC
Message-ID
<4AD75029.1010109@gmail.com>

Correct the usage text to make it clear that --tags cannot be combined with --all or --mirror.

Signed-off-by: Björn Gustavsson <bgustavsson@gmail.com>
---
 builtin-push.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/builtin-push.c b/builtin-push.c
index 3cb1ee4..425594a 100644
--- a/builtin-push.c
+++ b/builtin-push.c
@@ -10,7 +10,7 @@
 #include "parse-options.h"
 
 static const char * const push_usage[] = {
-	"git push [--all | --mirror] [-n | --dry-run] [--porcelain] [--tags] [--receive-pack=<git-receive-pack>] [--repo=<repository>] [-f | --force] [-v] [<repository> <refspec>...]",
+	"git push [--all | --mirror | --tags] [-n | --dry-run] [--porcelain] [--receive-pack=<git-receive-pack>] [--repo=<repository>] [-f | --force] [-v] [<repository> <refspec>...]",
 	NULL,
 };
 
-- 
1.6.5.2.gd6127
Message 1 of 1 in “push: fix usage: --tags is incompatible with --all and --mirror”
  1. push: fix usage: --tags is incompatible with --all and --mirrorBjörn Gustavsson, Oct 15, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.