Re: [PATCH 2/5] submodule foreach: document '$sm_path' instead of '$path'

2018-05-03 Thread Jonathan Tan
On Wed, 2 May 2018 17:53:55 -0700 Stefan Beller wrote: > foreach [--recursive] :: > Evaluates an arbitrary shell command in each checked out submodule. > - The command has access to the variables $name, $path, $sha1 and > + The command has access to the variables $name, $sm_path,

[PATCH 2/5] submodule foreach: document '$sm_path' instead of '$path'

2018-05-02 Thread Stefan Beller
From: Prathamesh Chavan As using a variable '$path' may be harmful to users due to capitalization issues, see 64394e3ae9 (git-submodule.sh: Don't use $path variable in eval_gettext string, 2012-04-17). Adjust the documentation to advocate for using $sm_path, which contains the same value. We sti