X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/388f63b6f44cae4d4b9a92b299c1ae45cc6de70d..4db741b16855c96a8a1f09ce1c91e5670d29a30d:/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 """