chiark / gitweb /
git-debrebase: On rebase, always save ffq-prev
[dgit.git] / git-debrebase
index c273976cc3448885e834b2e9c269778114d6d7dd..894bad5d227b8e0adcbb47843ad58af2bd4ac800 100755 (executable)
@@ -1672,7 +1672,7 @@ sub update_head_checkout ($$$) {
 
 sub update_head_postlaunder ($$$) {
     my ($old, $tip, $reflogmsg) = @_;
-    return if $tip eq $old;
+    return if $tip eq $old && !@deferred_updates;
     print "git-debrebase: laundered (head was $old)\n";
     update_head $old, $tip, $reflogmsg;
     # no tree changes except debian/patches