From 7b94c68e4b5082e9378577c89e1d3f012ead70ac Mon Sep 17 00:00:00 2001 From: Gabe Berke-Williams Date: Mon, 1 Aug 2011 20:18:02 -0400 Subject: [PATCH] Don't check if repo is dirty if we're pretending --- lib/kumade/deployer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/kumade/deployer.rb b/lib/kumade/deployer.rb index 8889fc9..0c359c2 100644 --- a/lib/kumade/deployer.rb +++ b/lib/kumade/deployer.rb @@ -59,7 +59,7 @@ def on_cedar?(app) end def ensure_clean_git - if git_dirty? + if ! pretending && git_dirty? error("Cannot deploy: repo is not clean.") else success("Git repo is clean")