From 336cd1e1a6236ecbad44268bb02c8ce3221992f1 Mon Sep 17 00:00:00 2001 From: Steven Walter Date: Tue, 15 Sep 2009 13:03:34 -0400 Subject: [PATCH] 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. --- yap/yap.py | 1 - 1 file changed, 1 deletion(-) 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() -- 2.11.4.GIT