git-send-bugzilla man page

git-send-bugzilla — Attach patches to a bugzilla bug

Synopsis

git-send-bugzilla [OPTIONS] (--dry-run | <bugid>)
                    <since>[..<until>]

Description

Attach each commit between <since> and <until> to the bug <bugid> on GNOME’s bugzilla. If ..<until> is not specified, the head of the current working tree is implied.

If -n (or bugzilla.numbered in the repository configuration) is specified, instead of "[PATCH] Subject", the first line is formatted as "[n/m] Subject".

Options

-b|--url <url>
The Bugzilla URL.
-u|--username <username>
Your Bugzilla user name.
-p|--password <password>
Your Bugzilla password.
-s|--squash
Send all the selected commits as a single patch.
-n|--numbered
Prefix attachment names with [n/m].
--start-number <n>
Start numbering the patches at <n> instead of 1.
--dry-run
Don’t do anything for real. If you use this option you shouldn’t specify a bug id.

Configuration

You can specify an URL, an user name and a password for the bugzilla in the repository configuration as follows:

[bugzilla]
        url = "http://bugzilla.kernel.org"
        username = "wanda@gnome.org"
        password = "********"

If you don’t specify one of them in the repository configuration nor in the command line, git-send-bugzilla will ask for it before trying to attach the patches.

Examples

git-send-bugzilla -n 12345 master Extract all commits which are in the current branch but not in the master branch. Each commit will be attached as a single patch to the bug #12345

Author

Written by Steve Frécinaux <code@istique.net[1]>.

Documentation

Documentation by Steve Frécinaux <code@istique.net[1]>.

Notes

1.

code@istique.net

mailto:code@istique.net

Info

02/04/2016