doc: preparatory clean-up of description on the sign-off option
authorJunio C Hamano <redacted>
Tue, 20 Oct 2020 01:03:52 +0000 (18:03 -0700)
committerJunio C Hamano <redacted>
Tue, 20 Oct 2020 18:57:35 +0000 (11:57 -0700)
commitae2e0ab6c544675256091a6bde5975407b0fab05
tree5424981a2bd5f8a02f47a46147221b799f3711a1
parenta5fa49ff0a8f3252c6bff49f92b85e7683868f8a
doc: preparatory clean-up of description on the sign-off option

Almost identical text on the signed-off-by trailer appears in the
documentation for "git commit" and "git merge" and its friends.

Introduce a new signoff-option.txt file to be shared.  A couple of
things of note are:

 - The short-form "-s" is available only in "git commit", but not in
   commands that are friends of "git merge", as it is used as a
   short-hand for "--strategy".

 - The original lacks description on the negated "--no-signoff" form
   on "git commit" side, but it equally is applicable.  It however
   was unclear in the original text that not adding a Signed-off-by
   trailer is the default, so rephrase to explain it as a way to
   countermand a --signoff option that appeared earlier on the same
   command line.

This is in preparation to apply a further clarification on what
exactly the Signed-off-by trailer means.

Suggested-by: Philippe Blain <redacted>
Signed-off-by: Junio C Hamano <redacted>
Reviewed-by: Taylor Blau <redacted>
Reviewed-by: Bradley M. Kuhn <redacted>
Signed-off-by: Junio C Hamano <redacted>
Documentation/git-commit.txt
Documentation/merge-options.txt
Documentation/signoff-option.txt [new file with mode: 0644]
git clone https://git.99rst.org/PROJECT