Skip to contentSkip to conversation

scripts: helper for mailing patches from git to the maintainers

PATCH New Enrico Weigelt, metux IT consult 1 participant 1 message Nov 21, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 scripts: helper for mailing patches from git to the maintainers

This is a little helper script for mailing patches out of a git branch to the corresponding maintainers.

Essentially, it scans the touched files, asks get_maintainer.pl for their maintainers and calls git-send-email for mailing out the patches.

Syntax:

./scripts/git-send-patch <ref> [<optional git-send-email args>]

Examples:

  ./scripts/git-send-patch HEAD^
  ./scripts/git-send-patch linus/master --dry-run
---
 MAINTAINERS            |  5 ++++
 scripts/git-send-patch | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 67 insertions(+)
 create mode 100755 scripts/git-send-patch
MAINTAINERS +5 -0
index e4f170d8bc29..b47973c922d0 100644
@@ -6929,6 +6929,11 @@ F:	Documentation/filesystems/gfs2*.txt
 F:	fs/gfs2/
 F:	include/uapi/linux/gfs2_ondisk.h
 
+GIT_SEND_PATCH SCRIPT
+M:	Enrico Weigelt, metux IT consult <[email protected]>
+F:	scripts/git-send-patch
+S:	Maintained
+
 GNSS SUBSYSTEM
 M:	Johan Hovold <[email protected]>
 T:	git git://git.kernel.org/pub/scm/linux/kernel/git/johan/gnss.git
scripts/git-send-patch new file +62 -0

62 lines not on this page · raw message

Signature · 1 line
2.11.0