threads / patch / 47033

patchdocs: fix formatting of rev-parse's --show-superproject-working-tree

Subject: [PATCH] docs: fix formatting of rev-parse's --show-superproject-working-tree

## tl;dr

2 messages between Oct 26, 2017 and Oct 26, 2017. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

Sebastian Schuberth· Oct 26, 2017, 11:53 UTC · lore
Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
---
 Documentation/git-rev-parse.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Show changes to Documentation/git-rev-parse.txt +1 −1
diff --git a/Documentation/git-rev-parse.txt b/Documentation/git-rev-parse.txt
index 0917b8207b9d6..95326b85ff68e 100644
--- a/Documentation/git-rev-parse.txt
+++ b/Documentation/git-rev-parse.txt
@@ -264,7 +264,7 @@ print a message to stderr and exit with nonzero status.
 --show-toplevel::
 	Show the absolute path of the top-level directory.
 
---show-superproject-working-tree
+--show-superproject-working-tree::
 	Show the absolute path of the root of the superproject's
 	working tree (if exists) that uses the current repository as
 	its submodule.  Outputs nothing if the current repository is

--
https://github.com/git/git/pull/418
Stefan Beller· Oct 26, 2017, 17:31 UTC · re: Sebastian Schuberth · lore

Re: [PATCH] docs: fix formatting of rev-parse's --show-superproject-working-tree

On Thu, Oct 26, 2017 at 4:53 AM, Sebastian Schuberth <sschuberth@gmail.com> wrote:

Show 15 quoted lines
> Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
> ---
>  Documentation/git-rev-parse.txt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/git-rev-parse.txt b/Documentation/git-rev-parse.txt
> index 0917b8207b9d6..95326b85ff68e 100644
> --- a/Documentation/git-rev-parse.txt
> +++ b/Documentation/git-rev-parse.txt
> @@ -264,7 +264,7 @@ print a message to stderr and exit with nonzero status.
>  --show-toplevel::
>         Show the absolute path of the top-level directory.
>
> ---show-superproject-working-tree
> +--show-superproject-working-tree::

Thanks for this fix! Stefan

← back to recent threads