Subject: Re: Weird problem with git-submodule.sh

From: Marc Branchaud <[email-masked]>
Date: Fri, 07 Dec 2012 13:03:30 -0500

On 12-12-07 12:54 PM, Junio C Hamano wrote:
> Marc Branchaud <[email-masked]> writes:
> 
>> This is with git 1.8.0.1 on all the machines involved.
>>
>> One of our build machines is having trouble with "git submodule":
>> ...
>> Any ideas?
> 
> How and why is the IFS set differently only on one of your build
> machines?

It's not.  On all machines:
	$ set | grep IFS
	IFS=$' \t\n'

As I said, if I isolate the module_list() function into another script it
works fine, with the exact same environment that breaks in git-submodule.sh.

Also, note that at the top of git-submodule there's
	. git-sh-setup
which does
	unset IFS

		M.