chiark
/
gitweb
/
~ianmdlvl
/
reprap-play.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0882646
)
commitid.scad.pl: make if into a block (nfc)
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 5 Feb 2016 18:42:50 +0000
(18:42 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 5 Feb 2016 18:42:50 +0000
(18:42 +0000)
commitid.scad.pl
patch
|
blob
|
history
diff --git
a/commitid.scad.pl
b/commitid.scad.pl
index eb4846a954ee6cc3d136f6a7a884ff52c50e0031..2da787311e2f9d9b6d8d9996a6e29b9469ca999b 100755
(executable)
--- a/
commitid.scad.pl
+++ b/
commitid.scad.pl
@@
-351,10
+351,11
@@
sub do_git () {
gentextmodule_plusq("Git$sz", ljustt($sz, $git_object, $git_dirty))
if defined $git_object;
- gentextmodule("Full$sz",
- rjustt($sz, $git_count.$git_dirty),
- ljustt($sz, $git_object, ''))
- if defined $git_count && defined $git_object;
+ if (defined $git_count && defined $git_object) {
+ gentextmodule("Full$sz",
+ rjustt($sz, $git_count.$git_dirty),
+ ljustt($sz, $git_object, ''));
+ }
}
}