Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
am: reset cached ident date for each patch
[gitweb.git]
/
ident.c
diff --git
a/ident.c
b/ident.c
index 4fd82d104365c2e2c1ab7e1597e7e246c8eded24..0c78df7c8f5acb8c2f309cd14139450c21436252 100644
(file)
--- a/
ident.c
+++ b/
ident.c
@@
-186,6
+186,11
@@
static const char *ident_default_date(void)
return git_default_date.buf;
}
+void reset_ident_date(void)
+{
+ strbuf_reset(&git_default_date);
+}
+
static int crud(unsigned char c)
{
return c <= 32 ||