From: Marc Branchaud Date: Fri, 07 Dec 2012 18:03:30 GMT Subject: Re: Weird problem with git-submodule.sh Message-ID: <50C22F72.6010701@xiplink.com> In-Reply-To: <7vvccdhhod.fsf@alter.siamese.dyndns.org> On 12-12-07 12:54 PM, Junio C Hamano wrote: > Marc Branchaud 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.