Re: [PATCH v5] diff: add config option relative
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 18, 2020, 20:37 UTC
- Message-ID
- <xmqqo8ql0yjg.fsf@gitster.c.googlers.com>
- In-Reply-To
- <20200518191205.GA1999@danh.dev>
Đoàn Trần Công Danh <congdanhqx@gmail.com> 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.
Show 8 quoted lines
> 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