Fix the 'status --reset' for individual files
[stgit] / stgit / git.py
index 61436bb..582e803 100644 (file)
@@ -599,7 +599,7 @@ def switch(tree_id):
 
     __set_head(tree_id)
 
-def reset(files = None, tree_id = None):
+def reset(files = None, tree_id = 'HEAD'):
     """Revert the tree changes relative to the given tree_id. It removes
     any local changes
     """