summaryrefslogtreecommitdiffstats
path: root/git-bz.txt
diff options
context:
space:
mode:
authorOwen W. Taylor <otaylor@fishsoup.net>2010-02-08 22:10:36 +0100
committerOwen W. Taylor <otaylor@fishsoup.net>2010-09-06 22:30:52 -0400
commit5ae24ed5f9782e21a46ac78a496186810645aad1 (patch)
tree1790c03a67fd849bfef323f961e95d7bfc13766b /git-bz.txt
parent81ab18761aea0d8077a280d4b91af10d93246cf3 (diff)
downloadgit-bz-5ae24ed5f9782e21a46ac78a496186810645aad1.tar.gz
Add bz.add-url config variable
Allow specifying the default value for whether URLs are added via a new git config variable. The -u/--add-url and -n/--no-add-url override this value. Based on a patch by Xavier Claessens <xclaesse@gmail.com>
Diffstat (limited to 'git-bz.txt')
-rw-r--r--git-bz.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/git-bz.txt b/git-bz.txt
index e318cc2..654d7c6 100644
--- a/git-bz.txt
+++ b/git-bz.txt
@@ -94,7 +94,8 @@ COMMON OPTIONS
-u;;
--add-url;;
Rewrite commits to add the bug URL. (This is the default and will not normally
- need to be specified.)
+ need to be specified; you can change the default using the bz.add-url config
+ variable.)
-n;;
--no-add-url;;
@@ -302,6 +303,10 @@ git config bz.add-url-method body-append:%u
git config bz.add-url-method subject-prepend:Bug %d -
----------------------------------------
+If you want to disable adding URLs by default, you can use the +bz.add-url+
+config variable, which defaults to false. The -u/--add-url and -n/--no-add-url
+command line options override the config variable.
+
ALIASES
-------
You can create short aliases for different bug trackers as follows