summaryrefslogtreecommitdiff
path: root/dev-tex/vc/files/vc-0.5-git-date.patch
blob: f05c857d1026e7d53f04e01c865a2d981786327f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Use CommitterDate instead of AuthorDate, because the latter is not
guaranteed to increase monotonously.

--- vc-orig/git-unix/vc-git.awk
+++ vc/git-unix/vc-git.awk
@@ -39,7 +39,7 @@
 ### Standard encoding is UTF-8.
 				if (Encoding == "") Encoding = "UTF-8"
 ### Extract relevant information from variables.
-				LongDate = substr(AuthorDate, 1, 25)
+				LongDate = substr(CommitterDate, 1, 25)
         DateRAW = substr(LongDate, 1, 10)
         DateISO = DateRAW
         DateTEX = DateISO