author | Linus Torvalds <torvalds@linux-foundation.org> | |
Fri, 20 Feb 2009 22:15:22 +0000 (14:15 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 21 Feb 2009 05:45:42 +0000 (21:45 -0800) | ||
commit | 7dff9b30ea0603fe265f9f7da055fc34f5d57d2f | |
tree | a59ae4b1012d9e64a74e5cde457f3f9eb12da2e6 | tree | snapshot |
parent | 8c5b85ce87d15e4db37a6408f03b0eb71dde080e | commit | diff |
Support 'raw' date format
Talking about --date, one thing I wanted for the 1234567890 date was to
get things in the raw format. Sure, you get them with --pretty=raw, but it
felt a bit sad that you couldn't just ask for the date in raw format.
So here's a throw-away patch (meaning: I won't be re-sending it, because I
really don't think it's a big deal) to add "--date=raw". It just prints
out the internal raw git format - seconds since epoch plus timezone (put
another way: 'date +"%s %z"' format)
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Talking about --date, one thing I wanted for the 1234567890 date was to
get things in the raw format. Sure, you get them with --pretty=raw, but it
felt a bit sad that you couldn't just ask for the date in raw format.
So here's a throw-away patch (meaning: I won't be re-sending it, because I
really don't think it's a big deal) to add "--date=raw". It just prints
out the internal raw git format - seconds since epoch plus timezone (put
another way: 'date +"%s %z"' format)
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/rev-list-options.txt | diff | blob | history | |
cache.h | diff | blob | history | |
date.c | diff | blob | history |