diff options
author | Owen W. Taylor <otaylor@fishsoup.net> | 2009-09-04 20:55:54 -0400 |
---|---|---|
committer | Owen W. Taylor <otaylor@fishsoup.net> | 2009-09-04 20:57:07 -0400 |
commit | d6c6d4f9ec53a4b119b704a2d2eea6ee39ce7c00 (patch) | |
tree | 545488be6099e267e98fbec73eea61b6ca805447 | |
parent | b3757215bac5deabaf09616ce1086455f94116f2 (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-x | git-bz | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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': |