threads / patch / 34448

patchgit-log.txt: fix typesetting of example "git-log -L" invocation

Subject: [PATCH] git-log.txt: fix typesetting of example "git-log -L" invocation

## tl;dr

2 messages between Jul 16, 2013 and Jul 16, 2013. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

Eric Sunshine· Jul 16, 2013, 00:10 UTC · lore
All surrounding examples are typeset as monospaced text. Follow suit.
Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
---
 Documentation/git-log.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Show changes to Documentation/git-log.txt +1 −1
diff --git a/Documentation/git-log.txt b/Documentation/git-log.txt
index 2ea79ba..2ee6962 100644
--- a/Documentation/git-log.txt
+++ b/Documentation/git-log.txt
@@ -153,7 +153,7 @@ Examples
 	This makes sense only when following a strict policy of merging all
 	topic branches when staying on a single integration branch.
 
-git log -L '/int main/',/^}/:main.c::
+`git log -L '/int main/',/^}/:main.c`::
 
 	Shows how the function `main()` in the file 'main.c' evolved
 	over time.
-- 
1.8.3.3.1016.g4f0baba
Thomas Rast· Jul 16, 2013, 09:23 UTC · re: Eric Sunshine · lore

Re: [PATCH] git-log.txt: fix typesetting of example "git-log -L" invocation

Eric Sunshine <sunshine@sunshineco.com> writes:
Show 20 quoted lines
> All surrounding examples are typeset as monospaced text. Follow suit.
>
> Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
> ---
>  Documentation/git-log.txt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/git-log.txt b/Documentation/git-log.txt
> index 2ea79ba..2ee6962 100644
> --- a/Documentation/git-log.txt
> +++ b/Documentation/git-log.txt
> @@ -153,7 +153,7 @@ Examples
>  	This makes sense only when following a strict policy of merging all
>  	topic branches when staying on a single integration branch.
>  
> -git log -L '/int main/',/^}/:main.c::
> +`git log -L '/int main/',/^}/:main.c`::
>  
>  	Shows how the function `main()` in the file 'main.c' evolved
>  	over time.
Ack.
-- 
Thomas Rast
trast@{inf,student}.ethz.ch

← back to recent threads