A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
reduce the amount of mallocs and use space on the stack
[simgrid.git]
/
tools
/
internal
/
update_copyright_header
diff --git
a/tools/internal/update_copyright_header
b/tools/internal/update_copyright_header
index
e42c53a
..
238f200
100755
(executable)
--- a/
tools/internal/update_copyright_header
+++ b/
tools/internal/update_copyright_header
@@
-27,8
+27,6
@@
fi
printf 'Using template: %s\n' "$template"
-now=$(date +%Y)
-
get_dates() {
local file=$1
local date
@@
-50,7
+48,6
@@
get_dates() {
esac
done
git log --format=%ad "$file" | cut -d\ -f5 | uniq
- echo $now
}
format_dates() {