chiark / gitweb /
fix push
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 17 Aug 2013 08:18:12 +0000 (09:18 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 17 Aug 2013 08:18:12 +0000 (09:18 +0100)
debian/changelog
dgit

index 7e2b85f553a398916593abd64ff5cfd82213d5fe..0f2d67cd51d2e1800dbf0efb15b2387b1ad00c71 100644 (file)
@@ -1,3 +1,10 @@
+dgit (0.3~0.1) experimental; urgency=low
+
+  * This version appears to be able to push.  We still need to test
+    fetching a dgit-based upload...
+
+ -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sat, 17 Aug 2013 09:18:04 +0100
+
 dgit (0.2) experimental; urgency=low
 
   * New version which might actually work but probably won't.
diff --git a/dgit b/dgit
index e4b1177dc23896b2389030e70e7a5a6bca0c2890..78b05f9edcd3a7bd2d2e13f91aca7a3a2dd72ce8 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -431,7 +431,7 @@ sub rev_parse ($) {
 
 sub is_fast_fwd ($$) {
     my ($ancestor,$child) = @_;
-    my $mb = cmdoutput @git, qw(merge-base), $dsc_hash, $upload_hash;
+    my $mb = cmdoutput @git, qw(merge-base), $ancestor, $child;
     return rev_parse($mb) eq rev_parse($ancestor);
 }