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

[PATCH] rev-list-options: clarify --parents and --children

From
Michael J Gruber <git@drmicha.warpmail.net>
Date
Sep 30, 2010, 15:31 UTC
Message-ID
<e7f6a7b7bdd9b0c4b425b04cf536d64c7ed8265f.1285860651.git.git@drmicha.warpmail.net>

Make it clearer that --parents resp. --children list the parent resp. child commits next to each commit, so that I understand next time.

Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
---
 Documentation/rev-list-options.txt |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/Documentation/rev-list-options.txt b/Documentation/rev-list-options.txt
index e2237ae..ebc0108 100644
--- a/Documentation/rev-list-options.txt
+++ b/Documentation/rev-list-options.txt
@@ -45,13 +45,13 @@ endif::git-rev-list[]
 
 --parents::
 
-	Print the parents of the commit.  Also enables parent
-	rewriting, see 'History Simplification' below.
+	Print also the parents of the commit (in the form "commit parent...").
+	Also enables parent rewriting, see 'History Simplification' below.
 
 --children::
 
-	Print the children of the commit.  Also enables parent
-	rewriting, see 'History Simplification' below.
+	Print also the children of the commit (in the form "commit child...").
+	Also enables parent rewriting, see 'History Simplification' below.
 
 ifdef::git-rev-list[]
 --timestamp::
-- 
1.7.3.98.g5ad7d
Next: Jonathan Nieder
Message 1 of 2 in “rev-list-options: clarify --parents and --children”
  1. rev-list-options: clarify --parents and --childrenMichael J Gruber, Sep 30, 2010
  2. Jonathan NiederSep 30, 2010

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.