diff options
author | Guido Günther <agx@sigxcpu.org> | 2012-01-13 22:37:05 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2012-01-13 22:37:49 +0100 |
commit | be118deec89340480dc41d5ee74c9b99a394c16e (patch) | |
tree | 1b02fdcd9cef06dc158ad7ba8a0fea760998fc98 | |
parent | a31c95b5e42a1901867c17a603a150d42bf15e0b (diff) |
GitRepository: don't explicitly set the tags option
to avoid missing remotes on "git fetch".
-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 42612327..d6b9874c 100644 --- a/gbp/git/repository.py +++ b/gbp/git/repository.py @@ -682,7 +682,7 @@ class GitRepository(object): @type fetch: C{bool} """ args = [ "add" ] - args += [ '--tags' ] if tags else [ '--no-tags'] + args += [] if tags else [ '--no-tags'] args += [ '--fetch' ] if fetch else [] args += [ name, url ] self._git_command("remote", args) |