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

[PATCH 2/5] Change order of -m option to update-ref.

From
Shawn Pearce <spearce@spearce.org>
Date
May 19, 2006, 09:15 UTC
Message-ID
<20060519091550.GJ22257@spearce.org>

The actual position doesn't matter but most people prefer to see options appear before the arguments.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
---
 Documentation/git-update-ref.txt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
75d5d46e9d911ab657af3c2eef9b585ac6a36b18
diff --git a/Documentation/git-update-ref.txt b/Documentation/git-update-ref.txt
index dfbd886..e062030 100644
--- a/Documentation/git-update-ref.txt
+++ b/Documentation/git-update-ref.txt
@@ -7,7 +7,7 @@ git-update-ref - update the object name 
 
 SYNOPSIS
 --------
-'git-update-ref' <ref> <newvalue> [<oldvalue>] [-m <reason>]
+'git-update-ref' [-m <reason>] <ref> <newvalue> [<oldvalue>]
 
 DESCRIPTION
 -----------
-- 
1.3.2.g7278
Message 1 of 1 in “Change order of -m option to update-ref.”
  1. 2/5 Change order of -m option to update-ref.Shawn Pearce, May 19, 2006

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.