X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/4625b604cae3553d4db0177d4ab9f3ad682bdd15..15de5ae14f1c76adac52ca5633a679fba79a877c:/stgit/git.py diff --git a/stgit/git.py b/stgit/git.py index 61436bb..582e803 100644 --- a/stgit/git.py +++ b/stgit/git.py @@ -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 """