Re: Has anyone looked at Gettext support for Git itself?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, May 16, 2010 at 01:12:20AM +0000, Ævar Arnfjörð Bjarmason wrote:
> 
>     GETTEXT=`which gettext 2> /dev/null`
>     if [ -z $GETTEXT ] ; then GETTEXT='echo -n'; fi

'echo -n' is not portable, and it is not used in git for this reason.

Dmitry

> And then just:
> 
>     - echo "We are not bisecting."
>     + $GETTEXT "We are not bisecting."

If gettext does not add the trailing newline to the message then it is
clearly not equivalent replacement.


Dmitry
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]