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
(from parent 1:
a5961eb
)
commitid: in Small with commitid, show start rather than end of commitid - actually
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Wed, 10 Feb 2016 01:55:48 +0000
(
01:55
+0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Wed, 10 Feb 2016 01:55:48 +0000
(
01:55
+0000)
commitid.scad.pl
patch
|
blob
|
history
diff --git
a/commitid.scad.pl
b/commitid.scad.pl
index 35bc341ff4e2043fd64c4228d70548943211ae65..0af0115b410e3c6c4405e64199ea5ae947c3f185 100755
(executable)
--- a/
commitid.scad.pl
+++ b/
commitid.scad.pl
@@
-540,7
+540,7
@@
sub do_git () {
my $smallstr = rjustt($sz, $git_count, $git_dirty);
my $forgitobj = $sz - length($git_count) - 1;
if (defined($git_object) && $forgitobj >= 2) {
- $smallstr =
r
justt($forgitobj, $git_object).
+ $smallstr =
l
justt($forgitobj, $git_object).
($git_dirty || ' ').
$git_count;
}