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

[PATCH v3 1/4] revisions.txt: change "rev" to "<rev>"

From
Denton Liu <liu.denton@gmail.com>
Date
May 5, 2019, 16:06 UTC
Message-ID
<e5b6d69eec80acab5b4b4c702011fc82a7367a79.1557072286.git.liu.denton@gmail.com>
In-Reply-To
<cover.1557072286.git.liu.denton@gmail.com>

In revisions.txt, there were some instances of a rev argument being written as "rev". However, since they didn't mean the string literal, write "<rev>", instead.

Signed-off-by: Denton Liu <liu.denton@gmail.com>
---
 Documentation/revisions.txt | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/Documentation/revisions.txt b/Documentation/revisions.txt
index 2337a995ec..e5f11691b1 100644
--- a/Documentation/revisions.txt
+++ b/Documentation/revisions.txt
@@ -159,12 +159,12 @@ thing no matter the case.
   '<rev>{caret}0'
   is a short-hand for '<rev>{caret}\{commit\}'.
 +
-'rev{caret}\{object\}' can be used to make sure 'rev' names an
-object that exists, without requiring 'rev' to be a tag, and
-without dereferencing 'rev'; because a tag is already an object,
+'<rev>{caret}\{object\}' can be used to make sure '<rev>' names an
+object that exists, without requiring '<rev>' to be a tag, and
+without dereferencing '<rev>'; because a tag is already an object,
 it does not have to be dereferenced even once to get to an object.
 +
-'rev{caret}\{tag\}' can be used to ensure that 'rev' identifies an
+'<rev>{caret}\{tag\}' can be used to ensure that '<rev>' identifies an
 existing tag object.
 
 '<rev>{caret}{}', e.g. 'v0.99.8{caret}{}'::
-- 
2.21.0.1049.geb646f7864
Previous: Denton LiuNext: Denton Liu
Message 2 of 8 in “cleanup revisions.txt”
  1. 0/4 cleanup revisions.txtDenton Liu, May 5, 2019
  2. 1/4 revisions.txt: change "rev" to "<rev>"Denton Liu, May 5, 2019
  3. 2/4 revisions.txt: mark optional rev arguments with []Denton Liu, May 5, 2019
  4. 3/4 revisions.txt: mention <rev>~ formDenton Liu, May 5, 2019
  5. 4/4 revisions.txt: remove ambibuity between <rev>:<path> and :<path>Denton Liu, May 5, 2019
  6. Denton LiuMay 5, 2019
  7. Denton LiuMay 7, 2019
  8. Junio C HamanoMay 7, 2019

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.