By default, status --reset calls resolved which updates the tree index and
the git-checkout-index -f does not overwrite the files anymore. This patch
explicitely resets the files to the HEAD tree id.
Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
-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
"""
"""Revert the tree changes relative to the given tree_id. It removes
any local changes
"""