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

[PATCH] checkout: Fix grammar in inline comment.

From
Brian Gesiak <modocache@gmail.com>
Date
Apr 12, 2014, 22:41 UTC
Message-ID
<1397342487-46596-1-git-send-email-modocache@gmail.com>

Inline comment had incorrect grammar. Fix grammatical mistakes and reflect actual behavior of the function.

Signed-off-by: Brian Gesiak <modocache@gmail.com>
---
 builtin/checkout.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/builtin/checkout.c b/builtin/checkout.c
index 63151e0..abe1161 100644
--- a/builtin/checkout.c
+++ b/builtin/checkout.c
@@ -888,8 +888,8 @@ static int parse_branchname_arg(int argc, const char **argv,
 	 *
 	 * case 3: git checkout <something> [--]
 	 *
-	 *   (a) If <something> is a commit, that is to
-	 *       switch to the branch or detach HEAD at it.  As a special case,
+	 *   (a) If <something> is a commit, switch to that branch or
+	 *       detach HEAD at that commit.  As a special case,
 	 *       if <something> is A...B (missing A or B means HEAD but you can
 	 *       omit at most one side), and if there is a unique merge base
 	 *       between A and B, A...B names that merge base.
-- 
1.9.0.259.gc5d75e8.dirty
Message 1 of 1 in “checkout: Fix grammar in inline comment.”
  1. checkout: Fix grammar in inline comment.Brian Gesiak, Apr 12, 2014

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.