Re: [PATCH v5] diff: add config option relative
Đoàn Trần Công Danh
Laurent Arnoud
brian m. carlson
Junio C Hamano
See Also
Prev Ref 1 Ref 2 Ref 3 Ref 4 Ref 5 Ref 6
2020-05-18 20:37:55 UTC
Đoàn Trần Công Danh  <> writes:

> We don't document --relative for git-format-patch, the --relative
> documentation is placed under the guard, for that matter:

Yup, since it does not make much sense or "diff.relative" for that
matter in the context of the "format-patch".  In the same sense, -R
makes little sense, so sane people would not want to read about the
option in the documentation, I would think.

> ifndef::git-format-patch[]
> -R::
>         Swap two inputs; that is, show differences from index or
>         on-disk file to tree contents.
> --relative[=<path>]::
>         When run from a subdirectory of the project, it can be
>         told to exclude changes outside the directory and show