author | Alberto Bertogli
<albertito@blitiri.com.ar> 2017-08-27 16:37:12 UTC |
committer | Alberto Bertogli
<albertito@blitiri.com.ar> 2017-08-27 16:37:12 UTC |
parent | d7f0e4a2650734581d88b5c949868a8e7bcf788d |
git.py | +4 | -1 |
diff --git a/git.py b/git.py index 636f3a2..2240175 100644 --- a/git.py +++ b/git.py @@ -525,7 +525,10 @@ class Tree: cmd.t = None cmd.arg(self.ref) - cmd.arg(path) + if not path: + cmd.arg(".") + else: + cmd.arg(path) for l in cmd.run(): _mode, otype, _oid, size, name = l.split(None, 4)