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:
d655b29
)
dgit: Make maybe_unapply_patches_again reset $patches_applied_dirtily
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 5 Sep 2016 21:39:43 +0000
(22:39 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 11 Sep 2016 17:56:03 +0000
(18:56 +0100)
That makes it idempotent.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
dgit
patch
|
blob
|
history
diff --git
a/dgit
b/dgit
index c105aea35f15fc40a85ac0d03d4de0bb8c120eb0..7ccaec422455a9b6b60374c4d2bb7241006f7775 100755
(executable)
--- a/
dgit
+++ b/
dgit
@@
-3884,6
+3884,7
@@
sub maybe_unapply_patches_again () {
if $patches_applied_dirtily & 01;
rmtree '.pc'
if $patches_applied_dirtily & 02;
+ $patches_applied_dirtily = 0;
}
#----- other building -----