diff options
| author | David Aguilar <davvid@gmail.com> | 2008-05-31 23:01:17 -0700 |
|---|---|---|
| committer | David Aguilar <davvid@gmail.com> | 2008-06-01 22:59:34 -0700 |
| commit | edf9fc528277a53ec37d1bd79fb4f8608cce11ae (patch) | |
| tree | 9a4528e86e6b5429c3e2332c53c43c327e3c0bc0 /test/git/test_git.py | |
| parent | bf2083922b7bccc31917bf9cdb74e3d4892c2600 (diff) | |
| download | GitPython-edf9fc528277a53ec37d1bd79fb4f8608cce11ae.tar.gz GitPython-edf9fc528277a53ec37d1bd79fb4f8608cce11ae.zip | |
Git: guard against passing False to git commands
git does not accept commands of the form:
git cmd --xx=False
or
git cmd -xFalse
This patch prevents transform_kwargs from producing
command lines with those values.
This adds some flexibility/syntactic sugar for callers
since they can then assume that kwargs with a False value
are not passed to git commands.
Signed-off-by: David Aguilar <davvid@gmail.com>
Diffstat (limited to 'test/git/test_git.py')
0 files changed, 0 insertions, 0 deletions
