From 7972daa4f7f3939261a458ca84dd2043d703c6cc Mon Sep 17 00:00:00 2001 From: Steven Walter Date: Sun, 29 Jun 2008 15:20:00 -0400 Subject: [PATCH] Fix unstage --- yap/yap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yap/yap.py b/yap/yap.py index 041de83..fe48c39 100644 --- a/yap/yap.py +++ b/yap/yap.py @@ -119,7 +119,7 @@ class Yap(object): if run_command("git rev-parse HEAD"): os.system("git update-index --force-remove '%s'" % file) else: - os.system("git diff-index HEAD '%s' | git apply -R --cached" % file) + os.system("git diff-index -p HEAD '%s' | git apply -R --cached" % file) self.cmd_status() def cmd_status(self): -- 2.11.4.GIT