Code

Extract "log [diff options]" parser out.
authorJunio C Hamano <junkio@cox.net>
Sat, 15 Apr 2006 10:16:46 +0000 (03:16 -0700)
committerJunio C Hamano <junkio@cox.net>
Sat, 15 Apr 2006 10:24:33 +0000 (03:24 -0700)
commitf4235f8b2ef875b85ead74ffa199d827f9ee9d8d
tree9805f85029ac2c0a392c00e8a2e7a7be1e252933
parent5069b1cf6177f837830dd3ac402bee4f3d088fa5
Extract "log [diff options]" parser out.

Merging of the log-tree-opt structure with rev-info structure
did not work out very well and it broke things that did not want
diff options and/or rev options.

This is an alternative approach to define a combined interface
that can be used by commands that wants both.  The use of it is
opt-in to reduce the risk of breaking existing programs.

We might want to slurp "setup_revisions() places things in
pending objects list" part from Linus's earlier attempt.

Signed-off-by: Junio C Hamano <junkio@cox.net>
git.c
log-tree.c
log-tree.h