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

Minor inconsistency: "git tag" requires space after -m.

From
SOSergei Organov <osv@javad.com>
Date
Oct 27, 2007, 11:55 UTC
Message-ID
<ffv8ul$5a2$1@ger.gmane.org>
Hello,
It seems options parsing is somewhat broken in git-tag:

$ git tag -a -m"Annotated tag" annotated-tag usage: git-tag [-n [<num>]] -l [<pattern>] | [-a | -s | -u <key-id>] [-f | -d | -v] [-m <msg> | -F <file>] <tagname> [<head>] $ git tag -a -m "Annotated tag" annotated-tag $ git --version git version 1.5.3.4

This is inconsistent with, say, "git commit", that groks -m"Message" (without space after -m) just fine.

-- 
Sergei.
Next: Johannes Schindelin
Message 1 of 3 in “Minor inconsistency: "git tag" requires space after -m.”
  1. Sergei OrganovOct 27, 2007
  2. Johannes SchindelinOct 27, 2007
  3. Sergei OrganovOct 27, 2007

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.