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

[PATCH] git status: fix grammar when in detached head

From
Piotr Krukowiecki <piotr.krukowiecki@gmail.com>
Date
Mar 19, 2011, 21:33 UTC
Message-ID
<4D852129.7050205@gmail.com>
Signed-off-by: Piotr Krukowiecki <piotr.krukowiecki@gmail.com>
---
 wt-status.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Not a native English speaker, but IMO the previous version isn't correct.

diff --git a/wt-status.c b/wt-status.c
index 4daa8bb..3214f52 100644
--- a/wt-status.c
+++ b/wt-status.c
@@ -643,7 +643,7 @@ void wt_status_print(struct wt_status *s)
 		else if (!strcmp(branch_name, "HEAD")) {
 			branch_name = "";
 			branch_status_color = color(WT_STATUS_NOBRANCH, s);
-			on_what = "Not currently on any branch.";
+			on_what = "Not on any branch currently.";
 		}
 		color_fprintf(s->fp, color(WT_STATUS_HEADER, s), "# ");
 		color_fprintf(s->fp, branch_status_color, "%s", on_what);
-- 
1.7.4.1.295.ged435

-- 
Piotr Krukowiecki
Next: Jeff King
Message 1 of 2 in “git status: fix grammar when in detached head”
  1. git status: fix grammar when in detached headPiotr Krukowiecki, Mar 19, 2011
  2. Jeff KingMar 19, 2011

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.