Use common "revision.h" header for both fsck and rev-tree.
commit458754a9fe2c2e889e38d1f4f53d5d457eba6faa
authorLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 14 Apr 2005 04:37:59 +0000 (13 21:37 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 14 Apr 2005 04:37:59 +0000 (13 21:37 -0700)
treeb65f86cddbb4086dc6b9b0a14ec8a935c45c6c3d
parentf864ba7448564d06e8076d1b6a66eca00a337d8c
Use common "revision.h" header for both fsck and rev-tree.

It's really a very generic thing: the notion of one sha1 revision
referring to another one. "fsck" uses it for all nodes, and "rev-tree"
only tracks commit-node relationships, but the code was already
the same - now we just make that explicit by moving it to a common
header file.
fsck-cache.c
rev-tree.c
revision.h [new file with mode: 0644]