chiark / gitweb /
in check_not_dirty, diff against HEAD as that's what we care about
[dgit.git] / dgit
diff --git a/dgit b/dgit
index e95f30c885ede0854217a5ab9157d63cbfa24e7e..eb263b10f188f58a0ffcfb61ee09fa8e5208cb97 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -701,7 +701,7 @@ sub pull () {
 }
 
 sub check_not_dirty () {
-    runcmd @git, qw(diff --quiet);
+    runcmd @git, qw(diff --quiet HEAD);
 }
 
 sub commit_quilty_patch ($) {