You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
diff: docs: Use --patch-{grep,modifies} over -G/-S
Long argument names are easier to read, compared to short ones. So
while short arguments are great when you want to type a command quickly,
the documentation readability is improved if we use long argument names.
Note for reviewers: All changes are just a replacement of `-G` with
`--patch-grep` and `-S` with `--patch-modifies`. But as the text was
reformatted to fit the same width in a few places it might look like
there are more changes, if the diff is only line-wise and not word-wise.
The only an exception are changes in `gitdiffcore.adoc`, where I did
rephrase a sentence. I've moved introduction of the short versions of
the `--patch-{grep,modifies}` into a subsequent paragraph. The reason
is that I wanted to keep a note on the `-G` mnemonic, and it was awkward
if I would repeat the short definition twice over a span of two
paragraphs.
Signed-off-by: Junio C Hamano <[email protected]>
0 commit comments