Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
count-delta: tweak counting of copied source material.
[gitweb.git]
/
git-format-patch.sh
diff --git
a/git-format-patch.sh
b/git-format-patch.sh
index e54c9e4a9407da56ff7e9da81f6105c864ba1d5d..eb75de46019284df4e9e2862736d232c230a5596 100755
(executable)
--- a/
git-format-patch.sh
+++ b/
git-format-patch.sh
@@
-189,7
+189,7
@@
my @month_names = qw(Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec);
sub show_date {
my ($time, $tz) = @_;
my $minutes = abs($tz);
- $minutes = ($minutes / 100) * 60 + ($minutes % 100);
+ $minutes =
int
($minutes / 100) * 60 + ($minutes % 100);
if ($tz < 0) {
$minutes = -$minutes;
}