summaryrefslogtreecommitdiff
path: root/Documentation/git-submodule.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-02-12 20:41:37 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-02-12 20:41:37 (GMT)
commitb2099ebb123af2b299c8125b7a839df44faec68a (patch)
treeb7da40fc6c73b278d5c57b4f700811b9f61dae6c /Documentation/git-submodule.txt
parent44cba9c4b37159ef2f09c122c358c74bde466677 (diff)
parent04e5b3f0b43db43b3484f72058c080ac1a4a9b38 (diff)
downloadgit-b2099ebb123af2b299c8125b7a839df44faec68a.zip
git-b2099ebb123af2b299c8125b7a839df44faec68a.tar.gz
git-b2099ebb123af2b299c8125b7a839df44faec68a.tar.bz2
Merge branch 'km/submodule-doc-use-sm-path'
Docfix. * km/submodule-doc-use-sm-path: submodule foreach: replace $path with $sm_path in example
Diffstat (limited to 'Documentation/git-submodule.txt')
-rw-r--r--Documentation/git-submodule.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/git-submodule.txt b/Documentation/git-submodule.txt
index 5232407..218942a 100644
--- a/Documentation/git-submodule.txt
+++ b/Documentation/git-submodule.txt
@@ -229,7 +229,7 @@ As an example, the command below will show the path and currently
checked out commit for each submodule:
+
--------------
-git submodule foreach 'echo $path `git rev-parse HEAD`'
+git submodule foreach 'echo $sm_path `git rev-parse HEAD`'
--------------
sync [--recursive] [--] [<path>...]::