~mdw
/
stgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix the 'files' initialisation in git.checkout()
[stgit]
/
stgit
/
git.py
diff --git
a/stgit/git.py
b/stgit/git.py
index
413604c
..
b6e47c3
100644
(file)
--- a/
stgit/git.py
+++ b/
stgit/git.py
@@
-569,7
+569,7
@@
def checkout(files = None, tree_id = None, force = False):
"""Check out the given or all files
"""
if not files:
- files =
None
+ files =
[]
if tree_id and __run('git-read-tree -m', [tree_id]) != 0:
raise GitException, 'Failed git-read-tree -m %s' % tree_id