git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 3-24/24] Documentation: include configuration options in manpages

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Jul 26, 2010, 19:55 UTC
Message-ID
<20100726195552.GA1451@burratino>
In-Reply-To
<a0be121e0b89f010273f3a3de9ad054bcec26d6c.1280169048.git.trast@student.ethz.ch>
Thomas Rast wrote:
Show 11 quoted lines
> +++ b/Documentation/git-add.txt
> @@ -148,10 +148,8 @@ subdirectories.
>  Configuration
>  -------------
>  
> -The optional configuration variable `core.excludesfile` indicates a path to a
> -file containing patterns of file names to exclude from git-add, similar to
> -$GIT_DIR/info/exclude.  Patterns in the exclude file are used in addition to
> -those in info/exclude.  See linkgit:gitrepository-layout[5].
> +@@CONFIG(add.ignore-errors)@@
> +@@CONFIG(core.excludesfile)@@

Hmm, the packrat in me does not like cavalierly throwing away text like this. :)

[...]
Show 13 quoted lines
> +++ b/Documentation/git-archive.txt
> @@ -93,12 +93,8 @@ zip
>  CONFIGURATION
>  -------------
>  
> -tar.umask::
> -	This variable can be used to restrict the permission bits of
> -	tar archive entries.  The default is 0002, which turns off the
> -	world write bit.  The special value "user" indicates that the
> -	archiving user's umask will be used instead.  See umask(2) for
> -	details.
> +@@CONFIG(tar.umask)@@
> +
Can this genre of change be automated?
[...]
Show 12 quoted lines
> +++ b/Documentation/git-branch.txt
> @@ -222,6 +222,14 @@ but different purposes:
>  - `--no-merged` is used to find branches which are candidates for merging
>    into HEAD, since those branches are not fully contained by HEAD.
>  
> +
> +CONFIGURATION
> +-------------
> +
> +@@CONFIG(branch.autosetupmerge)@@
> +@@CONFIG(branch.autosetuprebase)@@
> +
Obviously a good thing.

Thanks. Jonathan

Previous: Thomas RastNext: Ævar Arnfjörð Bjarmason
Message 8 of 14 in “Documentation: refactor config variable descriptions”
  1. 0/24 Documentation: refactor config variable descriptionsThomas Rast, Jul 26, 2010
  2. 2/24 Documentation: Add variable-substitution scriptThomas Rast, Jul 26, 2010
  3. Jonathan NiederJul 26, 2010
  4. Ævar Arnfjörð BjarmasonJul 26, 2010
  5. Jakub NarebskiJul 26, 2010
  6. Ævar Arnfjörð BjarmasonJul 26, 2010
  7. 24/24 Documentation: include configuration options in manpagesThomas Rast, Jul 26, 2010
  8. Jonathan NiederJul 26, 2010
  9. Ævar Arnfjörð BjarmasonJul 26, 2010
  10. Ævar Arnfjörð BjarmasonJul 26, 2010
  11. Jonathan NiederJul 26, 2010
  12. Ævar Arnfjörð BjarmasonJul 26, 2010
  13. Sverre RabbelierJul 27, 2010
  14. Junio C HamanoJul 28, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.