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

Re: [PATCH 4/4] doc: note that -L supports patch formatting and pickaxe options

From
Michael Montalbo <mmontalbo@gmail.com>
Date
Mar 11, 2026, 17:35 UTC
Message-ID
<CAC2QwmJTqYj5b531itc=8ZM3vXsg5oG3BLCHiEuoB7d0d4U=TQ@mail.gmail.com>
In-Reply-To
<e551ce17-8118-4b3b-ad8c-bdfe1a854c0b@app.fastmail.com>

On Wed, Mar 11, 2026 at 1:41 AM Kristoffer Haugsbakk <kristofferhaugsbakk@fastmail.com> wrote:

Show 34 quoted lines
>
> On Sat, Mar 7, 2026, at 02:02, Michael Montalbo via GitGitGadget wrote:
> > From: Michael Montalbo <mmontalbo@gmail.com>
> >
> > Now that -L output flows through the standard diff pipeline,
> > document that patch formatting options like --word-diff,
> > --color-moved, --no-prefix, whitespace handling (-w, -b),
> > and pickaxe options (-S, -G) are supported.
> >
> > Signed-off-by: Michael Montalbo <mmontalbo@gmail.com>
> > ---
> >  Documentation/line-range-options.adoc | 4 ++++
> >  1 file changed, 4 insertions(+)
> >
> > diff --git a/Documentation/line-range-options.adoc
> > b/Documentation/line-range-options.adoc
> > index c44ba05320..aa236281b3 100644
> > --- a/Documentation/line-range-options.adoc
> > +++ b/Documentation/line-range-options.adoc
> > @@ -11,5 +11,9 @@
> >       Patch output can be suppressed using `--no-patch`, but other diff
> > formats
> >       (namely `--raw`, `--numstat`, `--shortstat`, `--dirstat`, `--summary`,
> >       `--name-only`, `--name-status`, `--check`) are not currently
> > implemented.
> > ++
> > +     Patch formatting options such as `--word-diff`, `--color-moved`,
> > +     `--no-prefix`, and whitespace options (`-w`, `-b`) are supported,
> > +     as are pickaxe options (`-S`, `-G`).
>
> You shouldn’t use indentation here. This is a code block now.
>
> Just a line continuation and flush to the left.
>
Good catch, thank you. Will update in followup.
> >  +
> >  include::line-range-format.adoc[]
> > --
> > gitgitgadget
Previous: Kristoffer HaugsbakkNext: Junio C Hamano
Message 7 of 18 in “line-log: route -L output through the standard diff pipeline”
  1. 0/4 line-log: route -L output through the standard diff pipelineMichael Montalbo via GitGitGadget, Mar 7, 2026
  2. 1/4 line-log: fix crash when combined with pickaxe optionsMichael Montalbo via GitGitGadget, Mar 7, 2026
  3. 2/4 line-log: route -L output through the standard diff pipelineMichael Montalbo via GitGitGadget, Mar 7, 2026
  4. 3/4 t4211: add tests for -L with standard diff optionsMichael Montalbo via GitGitGadget, Mar 7, 2026
  5. 4/4 doc: note that -L supports patch formatting and pickaxe optionsMichael Montalbo via GitGitGadget, Mar 7, 2026
  6. Kristoffer HaugsbakkMar 11, 2026
  7. Michael MontalboMar 11, 2026
  8. Junio C HamanoMar 7, 2026
  9. Michael MontalboMar 7, 2026
  10. Junio C HamanoMar 7, 2026
  11. Michael MontalboMar 7, 2026
  12. 0/4 line-log: route -L output through the standard diff pipelineMichael Montalbo via GitGitGadget, Mar 17, 2026
  13. 1/4 line-log: fix crash when combined with pickaxe optionsMichael Montalbo via GitGitGadget, Mar 17, 2026
  14. 2/4 line-log: route -L output through the standard diff pipelineMichael Montalbo via GitGitGadget, Mar 17, 2026
  15. Junio C HamanoMar 17, 2026
  16. 3/4 t4211: add tests for -L with standard diff optionsMichael Montalbo via GitGitGadget, Mar 17, 2026
  17. 4/4 doc: note that -L supports patch formatting and pickaxe optionsMichael Montalbo via GitGitGadget, Mar 17, 2026
  18. Junio C HamanoMar 31, 2026

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.