aboutsummaryrefslogtreecommitdiffhomepage
path: root/gbp/git/repository.py
diff options
context:
space:
mode:
Diffstat (limited to 'gbp/git/repository.py')
-rw-r--r--gbp/git/repository.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/git/repository.py b/gbp/git/repository.py
index fec53fcb..a39fea1f 100644
--- a/gbp/git/repository.py
+++ b/gbp/git/repository.py
@@ -171,7 +171,7 @@ class GitRepository(object):
cmd = ['git', command] + args
env = cls.__build_env(extra_env)
stderr_arg = subprocess.PIPE if capture_stderr else None
- stdin_arg = subprocess.PIPE if input else None
+ stdin_arg = subprocess.PIPE if input is not None else None
log.debug(cmd)
popen = subprocess.Popen(cmd,