diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-02-14 20:42:32 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-02-14 20:42:32 (GMT) |
commit | cfa25e197d685f36f03fc17bd4e795f9f00ba086 (patch) | |
tree | 22b1f26df13a3db6ab00588203dc22873a0df1cf /Documentation/git-submodule.txt | |
parent | 153a1b46f1a4ef46cf257ed14741cb7d3e8c9ada (diff) | |
parent | 04e5b3f0b43db43b3484f72058c080ac1a4a9b38 (diff) | |
download | git-cfa25e197d685f36f03fc17bd4e795f9f00ba086.zip git-cfa25e197d685f36f03fc17bd4e795f9f00ba086.tar.gz git-cfa25e197d685f36f03fc17bd4e795f9f00ba086.tar.bz2 |
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
Diffstat (limited to 'Documentation/git-submodule.txt')
-rw-r--r-- | Documentation/git-submodule.txt | 2 |
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>...]:: |