diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 6ee6fee8..b8deed1c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -68,7 +68,9 @@ following guidelines: certifies that you wrote or otherwise have the right to contribute the patch as open-source, according to the [Developers Certificate of Origin](#developers-certificate-of-origin-11). A `Signed-off-by:` line - can be added to a patch by running `stg edit --sign`. + can be added to a patch by running `stg edit --sign`, and you can add one to + new patches by default with the setting by setting the config + `stgit.autosign` to `Signed-off-by`. - Lint. Run `make lint` to ensure that the code meets the project's syntactic standards and passes static checks. diff --git a/Documentation/stg.txt b/Documentation/stg.txt index 20b75ce2..04de2067 100644 --- a/Documentation/stg.txt +++ b/Documentation/stg.txt @@ -265,8 +265,10 @@ stgit.autoimerge:: is automatically run to attempt to resolve the conflicts. stgit.autosign:: - Automatically add "Signed-off-by:" trailer to commit messages for new patches created - with linkstg:new[] or lingstg:import[]. + Automatically add signoff trailer to commit messages for new patches created + with linkstg:new[] or lingstg:import[]. The value of this configuration + variable will be used as the key of the trailer and therefore should be set + to something like 'Signed-off-by'. stgit.autostash:: When running linkstg:rebase[], if any modified files are found in the working tree, a