chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80aef61
)
Split brain: In dopush, get HEAD earlier (nfc)
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 16 Jul 2016 17:20:57 +0000
(18:20 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 17 Jul 2016 12:46:14 +0000
(13:46 +0100)
dgit
patch
|
blob
|
history
diff --git
a/dgit
b/dgit
index a5685375caf02def49d22c0e93033ffec0568a11..b63910eda159a71f0ffd4553cb3660f7b13ffac7 100755
(executable)
--- a/
dgit
+++ b/
dgit
@@
-1995,6
+1995,8
@@
END
my $format = getfield $dsc, 'Format';
printdebug "format $format\n";
+ my $head = git_rev_parse('HEAD');
+
if (madformat($format)) {
# user might have not used dgit build, so maybe do this now:
commit_quilty_patch();
@@
-2025,7
+2027,6
@@
END
failedcmd @diffcmd;
}
}
- my $head = git_rev_parse('HEAD');
if (!$changesfile) {
my $pat = changespat $cversion;
my @cs = glob "$buildproductsdir/$pat";