summaryrefslogtreecommitdiff
blob: 8309cef7e3d22fa694639c82b1dd087bd424e92f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- scala-2.10.3-orig/tools/get-scala-commit-date	2013-09-23 23:00:37.000000000 +1000
+++ scala-2.10.3/tools/get-scala-commit-date	2014-02-09 14:14:29.132553839 +1100
@@ -10,8 +10,8 @@
 
 [[ $# -eq 0 ]] || cd "$1"
 
-lastcommitdate=$(git log --format="%ci" HEAD | head -n 1 | cut -d ' ' -f 1)
-lastcommithours=$(git log --format="%ci" HEAD | head -n 1 | cut -d ' ' -f 2)
+lastcommitdate="2013-09-23"
+lastcommithours="00:00:00"
 
 # 20120324
 echo "${lastcommitdate//-/}-${lastcommithours//:/}"
--- scala-2.10.3-orig/tools/get-scala-commit-sha	2013-09-23 23:00:37.000000000 +1000
+++ scala-2.10.3/tools/get-scala-commit-sha	2014-02-09 14:08:46.878352444 +1100
@@ -12,7 +12,7 @@
 
 # printf %016s is not portable for 0-padding, has to be a digit.
 # so we're stuck disassembling it.
-hash=$(git log -1 --format="%H" HEAD)
+hash="e2fec6b28dfd73482945ffab85d9b582d0cb9f17"
 hash=${hash#g}
 hash=${hash:0:10}
 echo "$hash"