From: Ian Jackson Date: Thu, 22 Aug 2013 12:58:50 +0000 (+0100) Subject: in check_not_dirty, diff against HEAD as that's what we care about X-Git-Tag: debian/0.4_pre1~10 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=8f04e1aea8377adbd2e8b178a32b31770373e902 in check_not_dirty, diff against HEAD as that's what we care about --- diff --git a/debian/changelog b/debian/changelog index 14b34630..1de57509 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 e95f30c8..eb263b10 100755 --- 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 ($) {