git: add config file telling git-publish how to send patches

The "git-publish" tool is a useful git extension for sending patch
series for code review. It automatically creates versioned tags
each time code on a branch is sent, so that there is a record of
each version. It also remembers the cover letter so it does not
need re-entering each time the series is reposted.

With this config file present it is now sufficient[1] to run

  $ git publish

to send all patches in a branch to the list for review

[1] Assuming your $HOME/.gitconfig has an SMTP server listed
at least e.g.

   [sendemail]
        smtpserver = smtp.example.com

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Daniel P. Berrangé 2018-04-18 18:30:38 +01:00
parent cec1022e01
commit fa9ba3b8ca
1 changed files with 3 additions and 0 deletions

3
.gitpublish Normal file
View File

@ -0,0 +1,3 @@
[gitpublishprofile "default"]
base = master
to = libvir-list@redhat.com