Make "rev-tree" able to read its own output again from the cache.
authorLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 12 Apr 2005 20:40:03 +0000 (13:40 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 12 Apr 2005 20:40:03 +0000 (13:40 -0700)
commit40e88b95cdce955059e94d288e8ebdb7d1e9fa88
tree5b009b1f6683c4e167d4d13816a7303a4d74fe1a
parent727ff277878490f50a3acefdd1ce6a94b3c9f4c2
Make "rev-tree" able to read its own output again from the cache.

Also, add "date" information to the output so that you can do something
like this:

rev-tree `cat .git/HEAD` | sort -nr | cut -d' ' -f2 | while read i; do cat-file commit $i; done

which basically becomes a "git log" (aka "git changes") where things are
sorted by time.
rev-tree.c