Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
date: add "unix" format
[gitweb.git]
/
builtin
/
blame.c
diff --git
a/builtin/blame.c
b/builtin/blame.c
index 7417edf6ef15bf4c0611c8e177e96d5734c98ac2..002e70f9b59b5a6d4aefc8fe30bad6360cb1b63e 100644
(file)
--- a/
builtin/blame.c
+++ b/
builtin/blame.c
@@
-2626,6
+2626,9
@@
int cmd_blame(int argc, const char **argv, const char *prefix)
case DATE_RAW:
blame_date_width = sizeof("1161298804 -0700");
break;
+ case DATE_UNIX:
+ blame_date_width = sizeof("1161298804");
+ break;
case DATE_SHORT:
blame_date_width = sizeof("2006-10-19");
break;