From: Steven Walter Date: Tue, 15 Sep 2009 17:03:34 +0000 (-0400) Subject: Revert "cmd_unstage: work correctly from a subdirectory" X-Git-Tag: v0.4 X-Git-Url: https://repo.or.cz/w/yap.git/commitdiff_plain/336cd1e1a6236ecbad44268bb02c8ce3221992f1 Revert "cmd_unstage: work correctly from a subdirectory" I must have been smoking crack. unstage does not work correctly with this change, and does work correctly without it. This reverts commit 98a6e8d1cbacef674fc346a8d10e1b34b857855e. --- diff --git a/yap/yap.py b/yap/yap.py index 7de4a12..375c0c9 100644 --- a/yap/yap.py +++ b/yap/yap.py @@ -558,7 +558,6 @@ flag can be used to unstage all staged changes at once. if not files: raise YapError("Nothing to do") - files = [ self._repo_path_to_rel(x) for x in files ] for f in files: self._unstage_one(f) self.cmd_status()