@@ -397,17 +397,57 @@ letter.
397
397
[[send-patches]]
398
398
=== Sending your patches.
399
399
400
+ ==== Choosing your reviewers
401
+
400
402
:security-ml: footnoteref:[security-ml,The Git Security mailing list:
[email protected] ]
401
403
402
- Before sending any patches, please note that patches that may be
404
+ NOTE: Patches that may be
403
405
security relevant should be submitted privately to the Git Security
404
406
mailing list{security-ml}, instead of the public mailing list.
405
407
406
- Learn to use format-patch and send-email if possible. These commands
408
+ :contrib-scripts: footnoteref:[contrib-scripts,Scripts under `contrib/` are +
409
+ not part of the core `git` binary and must be called directly. Clone the Git +
410
+ codebase and run `perl contrib/contacts/git-contacts`.]
411
+
412
+ Send your patch with "To:" set to the mailing list, with "cc:" listing
413
+ people who are involved in the area you are touching (the `git-contacts`
414
+ script in `contrib/contacts/`{contrib-scripts} can help to
415
+ identify them), to solicit comments and reviews. Also, when you made
416
+ trial merges of your topic to `next` and `seen`, you may have noticed
417
+ work by others conflicting with your changes. There is a good possibility
418
+ that these people may know the area you are touching well.
419
+
420
+ If you are using `send-email`, you can feed it the output of `git-contacts` like
421
+ this:
422
+
423
+ ....
424
+ git send-email --cc-cmd='perl contrib/contacts/git-contacts' feature/*.patch
425
+ ....
426
+
427
+ :current-maintainer: footnote:[The current maintainer:
[email protected] ]
428
+ :git-ml: footnote:[The mailing list:
[email protected] ]
429
+
430
+ After the list reached a consensus that it is a good idea to apply the
431
+ patch, re-send it with "To:" set to the maintainer{current-maintainer}
432
+ and "cc:" the list{git-ml} for inclusion. This is especially relevant
433
+ when the maintainer did not heavily participate in the discussion and
434
+ instead left the review to trusted others.
435
+
436
+ Do not forget to add trailers such as `Acked-by:`, `Reviewed-by:` and
437
+ `Tested-by:` lines as necessary to credit people who helped your
438
+ patch, and "cc:" them when sending such a final version for inclusion.
439
+
440
+ ==== `format-patch` and `send-email`
441
+
442
+ Learn to use `format-patch` and `send-email` if possible. These commands
407
443
are optimized for the workflow of sending patches, avoiding many ways
408
444
your existing e-mail client (often optimized for "multipart/*" MIME
409
445
type e-mails) might render your patches unusable.
410
446
447
+ NOTE: Here we outline the procedure using `format-patch` and
448
+ `send-email`, but you can instead use GitGitGadget to send in your
449
+ patches (see link:MyFirstContribution.html[MyFirstContribution]).
450
+
411
451
People on the Git mailing list need to be able to read and
412
452
comment on the changes you are submitting. It is important for
413
453
a developer to be able to "quote" your changes, using standard
@@ -498,34 +538,6 @@ patch, format it as "multipart/signed", not a text/plain message
498
538
that starts with `-----BEGIN PGP SIGNED MESSAGE-----`. That is
499
539
not a text/plain, it's something else.
500
540
501
- :security-ml-ref: footnoteref:[security-ml]
502
-
503
- As mentioned at the beginning of the section, patches that may be
504
- security relevant should not be submitted to the public mailing list
505
- mentioned below, but should instead be sent privately to the Git
506
- Security mailing list{security-ml-ref}.
507
-
508
- Send your patch with "To:" set to the mailing list, with "cc:" listing
509
- people who are involved in the area you are touching (the `git
510
- contacts` command in `contrib/contacts/` can help to
511
- identify them), to solicit comments and reviews. Also, when you made
512
- trial merges of your topic to `next` and `seen`, you may have noticed
513
- work by others conflicting with your changes. There is a good possibility
514
- that these people may know the area you are touching well.
515
-
516
- :current-maintainer: footnote:[The current maintainer:
[email protected] ]
517
- :git-ml: footnote:[The mailing list:
[email protected] ]
518
-
519
- After the list reached a consensus that it is a good idea to apply the
520
- patch, re-send it with "To:" set to the maintainer{current-maintainer}
521
- and "cc:" the list{git-ml} for inclusion. This is especially relevant
522
- when the maintainer did not heavily participate in the discussion and
523
- instead left the review to trusted others.
524
-
525
- Do not forget to add trailers such as `Acked-by:`, `Reviewed-by:` and
526
- `Tested-by:` lines as necessary to credit people who helped your
527
- patch, and "cc:" them when sending such a final version for inclusion.
528
-
529
541
== Subsystems with dedicated maintainers
530
542
531
543
Some parts of the system have dedicated maintainers with their own
0 commit comments