Re: [PATCH 2/3] wrapper: add xgetcwd()
- From
Duy Nguyen <pclouds@gmail.com>
- Date
- Jul 20, 2014, 12:35 UTC
- Message-ID
- <CACsJy8BUaAkO8_fjGCtVDyoSKkBQ+VKJLtjN_HZfV7XHOnS_yA@mail.gmail.com>
- In-Reply-To
- <53CBA640.1010601@web.de>
On Sun, Jul 20, 2014 at 6:21 PM, René Scharfe <l.s.r@web.de> wrote:
Show 5 quoted lines
> +char *xgetcwd(void)
> +{
> + struct strbuf sb = STRBUF_INIT;
> + if (strbuf_add_cwd(&sb))
> + die_errno("unable to get current working directory");Wrap the string with _() to make it translatable? I can't see why any script would want to grep this string..
> + return strbuf_detach(&sb, NULL); > +}
-- Duy