Skip to content

Latest commit

 

History

History
58 lines (43 loc) · 1.72 KB

README.md

File metadata and controls

58 lines (43 loc) · 1.72 KB

linux-send-email

git-format-patch archive for linux upstreaming

Guides/Documentation

General

hwmon

Configuration

append to ~/.gitconfig

[sendemail]
        from = Marcello Sylvester Bauer <[email protected]>
        smtpuser = [email protected]
        smtpserver = smtp.mailbox.org
        smtpencryption = tls
        smtpserverport = 587
        chainreplyto = false
        tocover = true
        cccover = true
[sendemail.linux]
    tocmd = "`pwd`/scripts/get_maintainer.pl --nogit --nogit-fallback --norolestats --nol"
    cccmd = "`pwd`/scripts/get_maintainer.pl --nogit --nogit-fallback --norolestats --nom"

Send Patches

Example:

# setup
DIR=../linux-send-email
TREE=hwmon
SET=max6639
VERSION=1
BASE=hwmon-next

# 1. format patch
git format-patch -o $DIR/$TREE/$SET/v$VERSION --cover-letter -v $VERSION -n --thread=shallow $BASE..HEAD

# 2. edit cover letter

vim $DIR/$TREE/$SET/v$VERSION/v$VERSION-0000*

# send patches
git send-email --identity=linux $DIR/$TREE/$SET/v$VERSION/