Fix formatting in git-config(1)
PATCH 1/1 Fix formatting in git-config(1)
Remove the open block markers from the status.showUntrackedFiles entry as they cause all remaining entries to be indented one level too much.
---
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(-)
Documentation/config.txt +0 -2
@@ -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
Signature · 7 lines
1.7.11 -- Andreas Schwab, [email protected] GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."
Quoted 2 lines · Andreas Schwab
Remove the open block markers from the status.showUntrackedFiles entry as they cause all remaining entries to be indented one level too much.
Hrm...
I looked at http://git-htmldocs.googlecode.com/git/git-config.html
and am unsure what "one level too much" you are referring to. Also looking at the output from
$ git config --help
I see (RHS end truncated to avoid line wrapping in MUA):
status.showUntrackedFiles
By default, git-status(1) and git-commit(1) show files whi tracked by Git. Directories which contain only untracked f the directory name only. Showing untracked files means tha lstat() all all the files in the whole repository, which m systems. So, this variable controls how the commands displ files. Possible values are:
· no - Show no untracked files.
· normal - Show untracked files and directories.
· all - Show also individual files in untracked directo
If this variable is not specified, it defaults to normal. overridden with the -u|--untracked-files option of git-sta commit(1).
Quoted 9 lines · Junio C Hamano
Quoted 2 lines · Andreas Schwab
Remove the open block markers from the status.showUntrackedFiles entry as they cause all remaining entries to be indented one level too much.
Hrm...
I looked at http://git-htmldocs.googlecode.com/git/git-config.html
and am unsure what "one level too much" you are referring to.
I'm using asciidoc 8.4.5. Probably version dependent.
Quoted 5 lines
Also looking at the output from
$ git config --helpI see (RHS end truncated to avoid line wrapping in MUA):
This is what I see:
status.showUntrackedFiles
By default, git-status(1) and git-commit(1) show files which are not currently tracked by Git. Directories which contain only untracked files, are shown with the directory name only. Showing untracked files means that Git needs to lstat() all all the files in the whole repository, which might be slow on some 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 of git-status(1) and git-commit(1).
status.submodulesummary
Defaults to false. If this is set to a non zero number or true (identical to -1 or an unlimited number), the submodule summary will be enabled and a summary of commits for modified submodules will be shown (see --summary-limit option of git- submodule(1)).
Andreas.
Signature · 3 lines
Andreas Schwab, [email protected] GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."
Quoted 25 lines · Junio C Hamano
Quoted 2 lines · Andreas Schwab
Remove the open block markers from the status.showUntrackedFiles entry as they cause all remaining entries to be indented one level too much.
Hrm...
I looked at http://git-htmldocs.googlecode.com/git/git-config.html
and am unsure what "one level too much" you are referring to. Also looking at the output from$ git config --helpI see (RHS end truncated to avoid line wrapping in MUA):
status.showUntrackedFiles
By default, git-status(1) and git-commit(1) show files whi tracked by Git. Directories which contain only untracked f the directory name only. Showing untracked files means thalstat()all all the files in the whole repository, which m systems. So, this variable controls how the commands displ files. Possible values are:· no - Show no untracked files.
Quoted 7 lines
· normal - Show untracked files and directories.
· all - Show also individual files in untracked directo
If this variable is not specified, it defaults to normal. overridden with the -u|--untracked-files option of git-sta commit(1).
Worse yet, with AsciiDoc 8.5.2, here is what I see with your patch (again, RHS end truncated to avoid line wrapping in MUA):
status.showUntrackedFiles
By default, git-status(1) and git-commit(1) show files w Directories which contain only untracked files, are show Showing untracked files means that Git needs to lstat() repository, which might be slow on some systems. So, thi 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 direc
If this variable is not specified, it defaults to n with the -u|--untracked-files option of git-status(
So...
Quoted 48 lines · Junio C Hamano
Quoted 25 lines · Junio C Hamano
Quoted 2 lines · Andreas Schwab
Remove the open block markers from the status.showUntrackedFiles entry as they cause all remaining entries to be indented one level too much.
Hrm...
I looked at http://git-htmldocs.googlecode.com/git/git-config.html
and am unsure what "one level too much" you are referring to. Also looking at the output from$ git config --helpI see (RHS end truncated to avoid line wrapping in MUA):
status.showUntrackedFiles
By default, git-status(1) and git-commit(1) show files whi tracked by Git. Directories which contain only untracked f the directory name only. Showing untracked files means thalstat()all all the files in the whole repository, which m systems. So, this variable controls how the commands displ files. Possible values are:· no - Show no untracked files.
Quoted 7 lines
· normal - Show untracked files and directories.
· all - Show also individual files in untracked directo
If this variable is not specified, it defaults to normal. overridden with the -u|--untracked-files option of git-sta commit(1).
Worse yet, with AsciiDoc 8.5.2, here is what I see with your patch (again, RHS end truncated to avoid line wrapping in MUA):
status.showUntrackedFiles
By default, git-status(1) and git-commit(1) show files w Directories which contain only untracked files, are show Showing untracked files means that Git needs to
lstat()repository, which might be slow on some systems. So, thi displays the untracked files. Possible values are:* no - Show no untracked files.
Quoted 8 lines
* normal - Show untracked files and directories.
* all - Show also individual files in untracked direc
If this variable is not specified, it defaults to n with the -u|--untracked-files option of git-status(
So...
I get this layout no matter what, with and without the block markers, both with version 8.4.5 and 8.6.6. But with the block markers the remaining entries are indented too much.
So...
Andreas.
Signature · 3 lines
Andreas Schwab, [email protected] GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."
Quoted 57 lines · Andreas Schwab
Quoted 55 lines · Junio C Hamano
Quoted 25 lines · Junio C Hamano
Quoted 2 lines · Andreas Schwab
Remove the open block markers from the status.showUntrackedFiles entry as they cause all remaining entries to be indented one level too much.
Hrm...
I looked at http://git-htmldocs.googlecode.com/git/git-config.html
and am unsure what "one level too much" you are referring to. Also looking at the output from$ git config --helpI see (RHS end truncated to avoid line wrapping in MUA):
status.showUntrackedFiles
By default, git-status(1) and git-commit(1) show files whi tracked by Git. Directories which contain only untracked f the directory name only. Showing untracked files means thalstat()all all the files in the whole repository, which m systems. So, this variable controls how the commands displ files. Possible values are:· no - Show no untracked files.
Quoted 7 lines
· normal - Show untracked files and directories.
· all - Show also individual files in untracked directo
If this variable is not specified, it defaults to normal. overridden with the -u|--untracked-files option of git-sta commit(1).
Worse yet, with AsciiDoc 8.5.2, here is what I see with your patch (again, RHS end truncated to avoid line wrapping in MUA):
status.showUntrackedFiles
By default, git-status(1) and git-commit(1) show files w Directories which contain only untracked files, are show Showing untracked files means that Git needs to
lstat()repository, which might be slow on some systems. So, thi 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 direc
If this variable is not specified, it defaults to n with the -u|--untracked-files option of git-status(
Quoted 7 lines
Quoted 1 line
So...
I get this layout no matter what, with and without the block markers, both with version 8.4.5 and 8.6.6. But with the block markers the remaining entries are indented too much.
So...
So with your patch, users of AsciiDoc 8.5.2 will be harmed by the same breakage as you get with 8.4.5 and 8.6.6 with or without your patch, and without your patch, users of AsciiDoc 8.5.2 gets a lot more reasonable output than with your patch?
Can't we have a patch that makes everybody happier than what each is currently seeing---that would be a progress without regression to anybody.
I've now found out that this is a bug in the docbook-xsl stylesheets, updating to 1.77.1 fixed the formatting.
Andreas.
Signature · 3 lines
Andreas Schwab, [email protected] GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."
Quoted 2 lines · Andreas Schwab
I've now found out that this is a bug in the docbook-xsl stylesheets, updating to 1.77.1 fixed the formatting.
Thanks for digging!
Quoted 4 lines · Junio C Hamano
So with your patch, users of AsciiDoc 8.5.2 will be harmed by the same breakage as you get with 8.4.5 and 8.6.6 with or without your patch, and without your patch, users of AsciiDoc 8.5.2 gets a lot more reasonable output than with your patch?
The behaviour is completely independent from the asciidoc version. All three versions produce the same output.
Andreas.
Signature · 3 lines
Andreas Schwab, [email protected] GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."