]> granicus.if.org Git - git/commitdiff
Merge branch 'jk/doc-submodule-markup-fix'
authorJunio C Hamano <gitster@pobox.com>
Wed, 15 Feb 2017 22:56:40 +0000 (14:56 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 15 Feb 2017 22:56:40 +0000 (14:56 -0800)
Doc markup fix.

* jk/doc-submodule-markup-fix:
  docs/git-submodule: fix unbalanced quote

1  2 
Documentation/git-submodule.txt

index 4a4cede144cac1799db6915964ad03ca252026f0,fc4fb64538f1bdfc277575901c694e025cbd2676..8acc72ebb8bbe956324f730612070678a9a9e188
@@@ -221,11 -227,14 +221,14 @@@ foreach [--recursive] <command>:
        the processing to terminate. This can be overridden by adding '|| :'
        to the end of the command.
  +
- As an example, +git submodule foreach \'echo $path {backtick}git
- rev-parse HEAD{backtick}'+ will show the path and currently checked out
- commit for each submodule.
+ 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`'
+ --------------
  
 -sync::
 +sync [--recursive] [--] [<path>...]::
        Synchronizes submodules' remote URL configuration setting
        to the value specified in .gitmodules. It will only affect those
        submodules which already have a URL entry in .git/config (that is the