"status --reset" does not restore the deleted files
commit2c4a491648aaf117a6d1b5af23b8b40be0d6dc4b
authorCatalin Marinas <catalin.marinas@gmail.com>
Thu, 22 Dec 2005 14:26:42 +0000 (22 14:26 +0000)
committerCatalin Marinas <catalin.marinas@gmail.com>
Fri, 23 Dec 2005 14:24:36 +0000 (23 14:24 +0000)
tree1a7f53fa200e5461ac61276838f2236d767238c6
parent61dabd0e4d6a7ef2377813872235565924398e4f
"status --reset" does not restore the deleted files

Actually, the broken code was restoring but deleting them. This was because
git.reset() command was used in the past instead of git.switch(). This
patch fixed it.

Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
stgit/git.py