diff options
Diffstat (limited to 'gbp/git/repository.py')
-rw-r--r-- | gbp/git/repository.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/git/repository.py b/gbp/git/repository.py index 10b90308..9f51d986 100644 --- a/gbp/git/repository.py +++ b/gbp/git/repository.py @@ -1093,7 +1093,7 @@ class GitRepository(object): @type fetch: C{bool} """ args = GitArgs('add') - args.add_false(tags, '--no-tags') + args.add_cond(tags, '--tags', '--no-tags') args.add_true(fetch, '--fetch') args.add(name, url) self._git_command("remote", args.args) |