]> xenbits.xensource.com Git - libvirt.git/commitdiff
git: add config file telling git-publish how to send patches
authorDaniel P. Berrangé <berrange@redhat.com>
Wed, 18 Apr 2018 17:30:38 +0000 (18:30 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Mon, 23 Apr 2018 10:36:09 +0000 (11:36 +0100)
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>
.gitpublish [new file with mode: 0644]

diff --git a/.gitpublish b/.gitpublish
new file mode 100644 (file)
index 0000000..857f0d5
--- /dev/null
@@ -0,0 +1,3 @@
+[gitpublishprofile "default"]
+base = master
+to = libvir-list@redhat.com