Skip to content

Commit cfa25e1

Browse files
committed
Merge branch 'km/submodule-doc-use-sm-path' into maint
Docfix. * km/submodule-doc-use-sm-path: submodule foreach: replace $path with $sm_path in example
2 parents 153a1b4 + 04e5b3f commit cfa25e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/git-submodule.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ As an example, the command below will show the path and currently
229229
checked out commit for each submodule:
230230
+
231231
--------------
232-
git submodule foreach 'echo $path `git rev-parse HEAD`'
232+
git submodule foreach 'echo $sm_path `git rev-parse HEAD`'
233233
--------------
234234

235235
sync [--recursive] [--] [<path>...]::

0 commit comments

Comments
 (0)