git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Fix formatting in git-config(1)
@ 2012-06-20 22:49 Andreas Schwab
  2012-06-20 22:56 ` Junio C Hamano
  0 siblings, 1 reply; 11+ messages in thread
From: Andreas Schwab @ 2012-06-20 22:49 UTC (permalink / raw)
  To: git

Remove the open block markers from the status.showUntrackedFiles entry
as they cause all remaining entries to be indented one level too much.

Signed-off-by: Andreas Schwab <schwab@linux-m68k.org>
---
I haven't been able to make the paragraph after the nested list of the
entry indented the same as the first one.  That appears to be a bug in
asciidoc, unless I'm misunderstanding something.  What should have
worked, AFAICS, would be placing the last paragraph inside the open
block and remove the preceding continuation marker, but doesn't change
anything from the status quo.

Andreas.

 Documentation/config.txt | 2 --
 1 file changed, 2 deletions(-)

diff --git a/Documentation/config.txt b/Documentation/config.txt
index 915cb5a..182ca3d 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -1946,11 +1946,9 @@ status.showUntrackedFiles::
 	systems. So, this variable controls how the commands displays
 	the untracked files. Possible values are:
 +
---
 * `no` - Show no untracked files.
 * `normal` - Show untracked files and directories.
 * `all` - Show also individual files in untracked directories.
---
 +
 If this variable is not specified, it defaults to 'normal'.
 This variable can be overridden with the -u|--untracked-files option
-- 
1.7.11


-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

^ permalink raw reply related	[flat|nested] 11+ messages in thread
* [PATCH] Fix formatting in git-config(1)
@ 2012-06-23 13:18 Andreas Schwab
  2012-07-03 19:23 ` Junio C Hamano
  0 siblings, 1 reply; 11+ messages in thread
From: Andreas Schwab @ 2012-06-23 13:18 UTC (permalink / raw)
  To: git

This fixes two formatting bugs in the git-config documentation:

- in the column.ui entry don't indent the last paragraph so that it isn't
  formatted as a literal paragraph
- in the push.default entry separate the last paragraph from the
  nested list.

Signed-off-by: Andreas Schwab <schwab@linux-m68k.org>
---
 Documentation/config.txt | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/Documentation/config.txt b/Documentation/config.txt
index 915cb5a..b059851 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -880,7 +880,7 @@ column.ui::
 	make equal size columns
 --
 +
-	This option defaults to 'never'.
+This option defaults to 'never'.
 
 column.branch::
 	Specify whether to output branch listing in `git branch` in columns.
@@ -1720,6 +1720,7 @@ push.default::
 	no refspec is implied by any of the options given on the command
 	line. Possible values are:
 +
+--
 * `nothing` - do not push anything.
 * `matching` - push all branches having the same name in both ends.
   This is for those who prepare all the branches into a publishable
@@ -1739,12 +1740,13 @@ push.default::
   option and is well-suited for beginners. It will become the default
   in Git 2.0.
 * `current` - push the current branch to a branch of the same name.
-  +
-  The `simple`, `current` and `upstream` modes are for those who want to
-  push out a single branch after finishing work, even when the other
-  branches are not yet ready to be pushed out. If you are working with
-  other people to push into the same shared repository, you would want
-  to use one of these.
+--
++
+The `simple`, `current` and `upstream` modes are for those who want to
+push out a single branch after finishing work, even when the other
+branches are not yet ready to be pushed out. If you are working with
+other people to push into the same shared repository, you would want
+to use one of these.
 
 rebase.stat::
 	Whether to show a diffstat of what changed upstream since the last
-- 
1.7.11.1


-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2012-07-03 19:23 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-20 22:49 [PATCH] Fix formatting in git-config(1) Andreas Schwab
2012-06-20 22:56 ` Junio C Hamano
2012-06-20 23:05   ` Andreas Schwab
2012-06-22 23:52   ` Junio C Hamano
2012-06-23  8:01     ` Andreas Schwab
2012-06-23  8:12       ` Junio C Hamano
2012-06-23  8:51         ` Andreas Schwab
2012-06-23 12:29         ` Andreas Schwab
2012-06-23 18:27           ` Junio C Hamano
  -- strict thread matches above, loose matches on Subject: below --
2012-06-23 13:18 Andreas Schwab
2012-07-03 19:23 ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).