[BUG] git-submodule has bash-ism?
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 31, 2016, 23:08 UTC
- Message-ID
- <xmqq1t4h3jxo.fsf@gitster.mtv.corp.google.com>
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.