[rtems-docs commit] eng/vc-users: Set up patch message with repo name

Gedare Bloom gedare at rtems.org
Tue Mar 16 19:06:53 UTC 2021


Module:    rtems-docs
Branch:    master
Commit:    a4755f6ee551b0175d287d605c33f99fa2cef614
Changeset: http://git.rtems.org/rtems-docs/commit/?id=a4755f6ee551b0175d287d605c33f99fa2cef614

Author:    Meh Mbeh Ida Delphine <idadelm at gmail.com>
Date:      Tue Mar 16 19:30:59 2021 +0100

eng/vc-users: Set up patch message with repo name

Added instructions on how to set up a patch message with a repo name.

Author:    Meh Mbeh Ida Delphine <idadelm at gmail.com>
Date:      Tue Mar 16 19:11:23 2021 +0100

---

 eng/vc-users.rst | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/eng/vc-users.rst b/eng/vc-users.rst
index 31de516..64c2624 100644
--- a/eng/vc-users.rst
+++ b/eng/vc-users.rst
@@ -458,6 +458,14 @@ specify a version number for your patch, for example, use
 
 to indicate the second version of a patch, ``-v3`` for a third, and so forth.
 
+Also, in order to create a patch specifying the repo name in the patch message,
+you should use the``--subject-prefix`` flag. For example, if contributing to
+the rtems-docs repo, use
+
+.. code-block:: shell
+
+  git format-patch --subject-prefix="PATCH rtems-docs" ...
+
 Patches created using ``git format-patch`` are formatted so they can be emailed
 and rely on having Git configured with your name and email address, for example
 



More information about the vc mailing list