summaryrefslogtreecommitdiff
path: root/blame.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2006-05-03 17:18:21 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2006-05-03 17:18:21 -0700
commite33b1dfe2834ceca1c449ec653dea636ca2d0200 (patch)
treebfcef21ab182db7524419712a138d32deaf33fe8 /blame.c
parentMerge branch 'js/repoconfig' into next (diff)
parentMerge branch 'fix' (diff)
downloadtgif-e33b1dfe2834ceca1c449ec653dea636ca2d0200.tar.xz
Merge branch 'master' into next
* master: fix various typos in documentation blame: Fix path pruning cvsserver: use git-rev-list instead of git-log Fix "git-log --parents" breakage post v1.3.0 add documentation for update-index --unresolve
Diffstat (limited to 'blame.c')
-rw-r--r--blame.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/blame.c b/blame.c
index 07d2d27251..99ceea81df 100644
--- a/blame.c
+++ b/blame.c
@@ -515,9 +515,9 @@ static int compare_tree_path(struct rev_info* revs,
paths[1] = NULL;
diff_tree_setup_paths(get_pathspec(revs->prefix, paths),
- &revs->diffopt);
+ &revs->pruning);
ret = rev_compare_tree(revs, c1->tree, c2->tree);
- diff_tree_release_paths(&revs->diffopt);
+ diff_tree_release_paths(&revs->pruning);
return ret;
}
@@ -531,9 +531,9 @@ static int same_tree_as_empty_path(struct rev_info *revs, struct tree* t1,
paths[1] = NULL;
diff_tree_setup_paths(get_pathspec(revs->prefix, paths),
- &revs->diffopt);
+ &revs->pruning);
ret = rev_same_tree_as_empty(revs, t1);
- diff_tree_release_paths(&revs->diffopt);
+ diff_tree_release_paths(&revs->pruning);
return ret;
}
@@ -834,7 +834,7 @@ int main(int argc, const char **argv)
args[0] = filename;
args[1] = NULL;
- diff_tree_setup_paths(args, &rev.diffopt);
+ diff_tree_setup_paths(args, &rev.pruning);
prepare_revision_walk(&rev);
process_commits(&rev, filename, &initial);