Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
--pretty=format: fix broken %ct and %at interpolation
[gitweb.git]
/
commit.c
diff --git
a/commit.c
b/commit.c
index 718e568855a37586f99f20bcfafd44cf3aa2b657..a92958cfacbfa88eee4cc52fef0f85308ddfc372 100644
(file)
--- a/
commit.c
+++ b/
commit.c
@@
-760,7
+760,7
@@
static void fill_person(struct interp *table, const char *msg, int len)
if (msg + start == ep)
return;
- table[5].value = xstrndup(msg + start, ep -
msg + start
);
+ table[5].value = xstrndup(msg + start, ep -
(msg + start)
);
/* parse tz */
for (start = ep - msg + 1; start < len && isspace(msg[start]); start++)