From: Junio C Hamano Date: Tue, 31 May 2016 23:08:03 GMT Subject: [BUG] git-submodule has bash-ism? Message-ID: relative_path () { local target curdir result target=$1 curdir=${2-$wt_prefix} I am hoping that Stefan's "gradually rewrite things in C" will make it unnecessary to worry about this one. "git submodule" would not work correctly on posixly correct shells in the meantime.