From d6c6d4f9ec53a4b119b704a2d2eea6ee39ce7c00 Mon Sep 17 00:00:00 2001 From: "Owen W. Taylor" Date: Fri, 4 Sep 2009 20:55:54 -0400 Subject: 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. --- git-bz | 4 ++-- 1 file 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] "); - 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] []"); @@ -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': -- cgit v1.2.3