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

[PATCH] Use "working tree" instead of "working directory" for git status

From
Lars Vogel <lars.vogel@gmail.com>
Date
Jun 9, 2016, 18:19 UTC
Message-ID
<1465496370-11664-1-git-send-email-Lars.Vogel@vogella.com>

Working directory can be easily confused with the current directory. In one of my patches I already updated the usage of working directory with working tree for the man page but I noticed that git status also uses this incorrect term.

Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
---
 wt-status.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/wt-status.c b/wt-status.c
index 4f27bd6..4ce4e35 100644
--- a/wt-status.c
+++ b/wt-status.c
@@ -1554,7 +1554,7 @@ void wt_status_print(struct wt_status *s)
 			else
 				printf(_("nothing to commit\n"));
 		} else
-			printf(_("nothing to commit, working directory clean\n"));
+			printf(_("nothing to commit, working tree clean\n"));
 	}
 }
 
-- 
2.8.1
Next: Matthieu Moy
Message 1 of 3 in “Use "working tree" instead of "working directory" for git status”
  1. Use "working tree" instead of "working directory" for git statusLars Vogel, Jun 9, 2016
  2. Matthieu MoyJun 9, 2016
  3. Junio C HamanoJun 9, 2016

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.