1. 01 9月, 2006 8 次提交
  2. 30 8月, 2006 5 次提交
  3. 29 8月, 2006 10 次提交
  4. 28 8月, 2006 16 次提交
  5. 27 8月, 2006 1 次提交
    • L
      Relative timestamps in git log · 9a8e35e9
      Linus Torvalds 提交于
      I noticed that I was looking at the kernel gitweb output at some point
      rather than just do "git log", simply because I liked seeing the
      simplified date-format, ie the "5 days ago" rather than a full date.
      
      This adds infrastructure to do that for "git log" too. It does NOT add the
      actual flag to enable it, though, so right now this patch is a no-op, but
      it should now be easy to add a command line flag (and possibly a config
      file option) to just turn on the "relative" date format.
      
      The exact cut-off points when it switches from days to weeks etc are
      totally arbitrary, but are picked somewhat to avoid the "1 weeks ago"
      thing (by making it show "10 days ago" rather than "1 week", or "70
      minutes ago" rather than "1 hour ago").
      
      [jc: with minor fix and tweak around "month" and "week" area.]
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      9a8e35e9