diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-11 13:55:10 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-11 13:55:10 -0700 |
commit | 84fe972055398ba0790ac0a8f159c79c83efcef4 (patch) | |
tree | 426bfebd8064b754e1f6ab7ad6ab81801310043d /Makefile | |
parent | 0dcad32ae239906217065b6a2b0fca41962e5d57 (diff) | |
download | git-84fe972055398ba0790ac0a8f159c79c83efcef4.tar.gz git-84fe972055398ba0790ac0a8f159c79c83efcef4.tar.xz |
Add a "rev-tree" helper, which calculates the revision
tree graph.
It's quite fast when the commit-objects are cached, but since
it has to walk every single commit-object, it also allows you
to cache an old state and just add on top of that.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -2,7 +2,7 @@ CFLAGS=-g -O3 -Wall CC=gcc PROG= update-cache show-diff init-db write-tree read-tree commit-tree \ - cat-file fsck-cache checkout-cache diff-tree + cat-file fsck-cache checkout-cache diff-tree rev-tree all: $(PROG) @@ -40,6 +40,9 @@ checkout-cache: checkout-cache.o read-cache.o diff-tree: diff-tree.o read-cache.o $(CC) $(CFLAGS) -o diff-tree diff-tree.o read-cache.o $(LIBS) +rev-tree: rev-tree.o read-cache.o + $(CC) $(CFLAGS) -o rev-tree rev-tree.o read-cache.o $(LIBS) + read-cache.o: cache.h show-diff.o: cache.h |