diff options
author | Prathamesh Chavan <pc44800@gmail.com> | 2018-05-08 17:29:50 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-05-09 12:37:00 +0900 |
commit | f0fd0dc5c5fcc066fc2e0b7dc1e809cb2d219ee3 (patch) | |
tree | 3dedc761c2ba40c4c5c56271bd41fbc2137d0803 /builtin/ls-tree.c | |
parent | submodule foreach: correct '$path' in nested submodules from a subdirectory (diff) | |
download | tgif-f0fd0dc5c5fcc066fc2e0b7dc1e809cb2d219ee3.tar.xz |
submodule foreach: document '$sm_path' instead of '$path'
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 still make the 'path' variable available and
document it as a deprecated synonym of 'sm_path'.
Discussed-with: Ramsay Jones <ramsay@ramsayjones.plus.com>
Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Prathamesh Chavan <pc44800@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/ls-tree.c')
0 files changed, 0 insertions, 0 deletions