]> git.ipfire.org Git - thirdparty/git.git/blobdiff - Documentation/git-submodule.txt
Merge branch 'km/submodule-doc-use-sm-path' into maint
[thirdparty/git.git] / Documentation / git-submodule.txt
index 5232407f68331618e5c509b91aef30ce6c6dbecd..218942acd11ffff39230a71617d119d323795299 100644 (file)
@@ -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>...]::