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

3 messages from 2016-06-16 to 2016-06-16. Participants: Lars Vogel, Matthieu Moy, Junio C Hamano.
Thread: https://gitlist.dev/t/42565

## Lars Vogel, 2016-06-09 18:19

Subject: [PATCH] Use "working tree" instead of "working directory" for git status
Message-ID: <1465496370-11664-1-git-send-email-Lars.Vogel@vogella.com>
URL: https://gitlist.dev/e/1465496370-11664-1-git-send-email-Lars.Vogel%40vogella.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

```

## Matthieu Moy, 2016-06-09 19:46

Subject: Re: [PATCH] Use "working tree" instead of "working directory" for git status
Message-ID: <vpqporqb0x0.fsf@anie.imag.fr>
URL: https://gitlist.dev/e/vpqporqb0x0.fsf%40anie.imag.fr
In-Reply-To: <1465496370-11664-1-git-send-email-Lars.Vogel@vogella.com>

```
Lars Vogel <lars.vogel@gmail.com> writes:

> --- 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"));

Looks good to me, thanks.

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/

```

## Junio C Hamano, 2016-06-09 19:59

Subject: Re: [PATCH] Use "working tree" instead of "working directory" for git status
Message-ID: <xmqqporqgmlf.fsf@gitster.mtv.corp.google.com>
URL: https://gitlist.dev/e/xmqqporqgmlf.fsf%40gitster.mtv.corp.google.com
In-Reply-To: <vpqporqb0x0.fsf@anie.imag.fr>

```
Matthieu Moy <Matthieu.Moy@grenoble-inp.fr> writes:

> Lars Vogel <lars.vogel@gmail.com> writes:
>
>> --- 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"));
>
> Looks good to me, thanks.

Thanks, all.  Queued.

```
