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

Re: [PATCH v2 2/2] Documentation: Link descriptions of -z to core.quotePath

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 28, 2017, 20:51 UTC
Message-ID
<xmqqmvd6jayn.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<1487968676-6126-3-git-send-email-asheiduk@gmail.com>
Andreas Heiduk <asheiduk@gmail.com> writes:
Show 15 quoted lines
> diff --git a/Documentation/diff-options.txt b/Documentation/diff-options.txt
> index e6215c3..7c28e73 100644
> --- a/Documentation/diff-options.txt
> +++ b/Documentation/diff-options.txt
> @@ -192,10 +192,9 @@ ifndef::git-log[]
>  	given, do not munge pathnames and use NULs as output field terminators.
>  endif::git-log[]
>  +
> -Without this option, each pathname output will have TAB, LF, double quotes,
> -and backslash characters replaced with `\t`, `\n`, `\"`, and `\\`,
> -respectively, and the pathname will be enclosed in double quotes if
> -any of those replacements occurred.
> +Without this option, pathnames with "unusual" characters are munged as
> +explained for the configuration variable `core.quotePath` (see
> +linkgit:git-config[1]).

Seeing that many other instances call this "quoted", we may want to be consistent. I can see "munge" in the pre-context, but that one can stay as is. Under -z, no modification/munging happens. With -z, a specific kind of modification (called "quote" described in the documentation for core.quotepath variable) happens. The same comment applies to the change to Documentation/git-apply.txt

Otherwise the patch looks good.
Thanks.
Previous: Andreas HeidukNext: Andreas Heiduk
Message 16 of 18 in “Documentation: Link git-ls-files to core.quotePath variable.”
  1. Documentation: Link git-ls-files to core.quotePath variable.Andreas Heiduk, Feb 19, 2017
  2. Junio C HamanoFeb 21, 2017
  3. Andreas HeidukFeb 22, 2017
  4. Andreas HeidukFeb 22, 2017
  5. Junio C HamanoFeb 22, 2017
  6. Philip OakleyFeb 22, 2017
  7. Junio C HamanoFeb 22, 2017
  8. Andreas HeidukFeb 22, 2017
  9. 0/2 Documentation: Link git-ls-files to core.quotePath variable.Andreas Heiduk, Feb 24, 2017
  10. 1/2 Documentation: Improve description for core.quotePathAndreas Heiduk, Feb 24, 2017
  11. Jakub NarębskiFeb 24, 2017
  12. Andreas HeidukFeb 28, 2017
  13. 2/2 Documentation: Link descriptions of -z to core.quotePathAndreas Heiduk, Feb 24, 2017
  14. Jakub NarębskiFeb 24, 2017
  15. Andreas HeidukFeb 28, 2017
  16. Junio C HamanoFeb 28, 2017
  17. Andreas HeidukFeb 28, 2017
  18. Junio C HamanoFeb 28, 2017

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.