]> git.ipfire.org Git - thirdparty/git.git/commit - revision.h
rev-lib: Make it easy to do rename tracking (take 2)
authorFredrik Kuivinen <freku045@student.liu.se>
Fri, 10 Mar 2006 09:21:39 +0000 (10:21 +0100)
committerJunio C Hamano <junkio@cox.net>
Sat, 11 Mar 2006 06:22:00 +0000 (22:22 -0800)
commit8efdc326c9681e814d79e8da6097c187388dc0c4
treeeacf0f6d9bd219173b572b77a8763a382b5dd8de
parent6b6dcfc297722f5a5324c4cb22f45adccd4c84ef
rev-lib: Make it easy to do rename tracking (take 2)

prune_fn in the rev_info structure is called in place of
try_to_simplify_commit. This makes it possible to do rename tracking
with a custom try_to_simplify_commit-like function.

This commit also introduces init_revisions which initialises the rev_info
structure with default values.

Signed-off-by: Fredrik Kuivinen <freku045@student.liu.se>
Signed-off-by: Junio C Hamano <junkio@cox.net>
rev-list.c
revision.c
revision.h