chiark / gitweb /
in check_not_dirty, diff against HEAD as that's what we care about
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 22 Aug 2013 12:58:50 +0000 (13:58 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 22 Aug 2013 12:58:50 +0000 (13:58 +0100)
debian/changelog
dgit

index 14b3463..1de5750 100644 (file)
@@ -9,6 +9,7 @@ dgit (0.4) experimental; urgency=low
   * Better error checking when parsing RFC822-style control data.
   * Better checking that the supplied .dsc and debian/changes correspond.
   * Ordering improvement in push: don't add dsc field until git push done.
+  * Bugfixes.
 
  --
 
diff --git a/dgit b/dgit
index e95f30c..eb263b1 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 ($) {