On Wed, Jul 14, 2010 at 05:40:12PM +0200, Bernhard R. Link wrote:
> * Osamu Aoki <[email protected]> [100714 16:48]:
> > Since git-dpm was not initializing CDPATH, I checked grep command
> > related things and they were not initialized either.  What do you think
> > about adding followings to the source, too?
> 
> > unset GREP_COLOR
> > unset GREP_COLORS
> > GREP_OPTIONS=--color=never
> 
> added. Thanks.
> 
> > LC_ALL=C
> 
> that is quite an heavy impact. All messages of the tools called would
> change and editors called (directly or indirectly) would inherit this
> setting. Do you see any case where having a locale might cause problems?

This was my precautionaly choice.  I included this because you did this in
line 2434 .

tar --force-local --no-same-owner --no-same-permissions -U -xvf "$filename" | 
LC_ALL=C grep -v '/$' | gitcmd update-index --add --std

The possible iterfaring isses I am aware are:

LC_ALL, LC_COLLATE, LANG
These variables specify the locale for the  LC_COLLATE  category,  which
determines  the  collating  sequence  used  to  interpret  range
expressions like [a-z].

LC_ALL, LC_CTYPE, LANG
These  variables  specify  the  locale  for  the  LC_CTYPE  category,
which determines the type of characters, e.g., which characters are
whitespace.

Osamu




-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to