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 14b34630f95ce313b41c17b37004aad4ae38adf4..1de57509308b1d86b88be820e8326076d511dce9 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 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 ($) {