summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwen W. Taylor <otaylor@fishsoup.net>2009-09-04 20:55:54 -0400
committerOwen W. Taylor <otaylor@fishsoup.net>2009-09-04 20:57:07 -0400
commitd6c6d4f9ec53a4b119b704a2d2eea6ee39ce7c00 (patch)
tree545488be6099e267e98fbec73eea61b6ca805447
parentb3757215bac5deabaf09616ce1086455f94116f2 (diff)
Make --add-url the default for 'git bz apply' as well
1) It's confusing to have it different 2) For git bz push, we want to have that association whenever possible, even if you didn't create the patch yourself.
-rwxr-xr-xgit-bz4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-bz b/git-bz
index 5b9c737..940fd3a 100755
--- a/git-bz
+++ b/git-bz
@@ -1966,7 +1966,7 @@ if command == 'add-url':
min_args = max_args = 2
elif command == 'apply':
parser.set_usage("git bz apply [options] <bug reference>");
- add_add_url_options(default=False)
+ add_add_url_options(default=True)
min_args = max_args = 1
elif command == 'attach':
parser.set_usage("git bz attach [options] <bug reference> [<since | <revision range>]");
@@ -2003,7 +2003,7 @@ if command == 'add-url':
do_add_url(*args)
elif command == 'apply':
if global_options.add_url is None:
- global_options.add_url = False
+ global_options.add_url = True
do_apply(*args)
elif command == 'attach':