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

[PATCH] Documentation/gitcli.txt: dashed forms not allowed anymore

From
jidanni@jidanni.org <jidanni@jidanni.org>
Date
Jan 1, 2009, 04:39 UTC
Message-ID
<87ljtvmygk.fsf@jidanni.org>
Non dashed command forms now mandatory.
Signed-off-by: jidanni <jidanni@jidanni.org>
---
 Documentation/gitcli.txt |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/gitcli.txt b/Documentation/gitcli.txt
index 29e5929..9f582f6 100644
--- a/Documentation/gitcli.txt
+++ b/Documentation/gitcli.txt
@@ -45,8 +45,8 @@ disambiguating `\--` at appropriate places.
 Here are the rules regarding the "flags" that you should follow when you are
 scripting git:
 
- * it's preferred to use the non dashed form of git commands, which means that
-   you should prefer `"git foo"` to `"git-foo"`.
+ * it's required to use the non dashed form of git commands, which means that
+   you must use `"git foo"` and not `"git-foo"`. The latter no longer works.
 
  * splitting short options to separate words (prefer `"git foo -a -b"`
    to `"git foo -ab"`, the latter may not even work).
-- 
1.6.0.6
Next: Miklos Vajna
Message 1 of 3 in “Documentation/gitcli.txt: dashed forms not allowed anymore”
  1. Documentation/gitcli.txt: dashed forms not allowed anymorejidanni@jidanni.org, Jan 1, 2009
  2. Miklos VajnaJan 1, 2009
  3. Junio C HamanoJan 1, 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.