Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
timestamp_t: a new data type for timestamps
[gitweb.git]
/
config.c
diff --git
a/config.c
b/config.c
index 1a4d85537b3c96749999250a34216257db134714..3247bfaa0205eaab4ad6282e4661ed1a637215f0 100644
(file)
--- a/
config.c
+++ b/
config.c
@@
-1926,7
+1926,7
@@
int git_config_get_expiry(const char *key, const char **output)
if (ret)
return ret;
if (strcmp(*output, "now")) {
-
unsigned long
now = approxidate("now");
+
timestamp_t
now = approxidate("now");
if (approxidate(*output) >= now)
git_die_config(key, _("Invalid %s: '%s'"), key, *output);
}