Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
alloc: add repository argument to alloc_commit_node
[gitweb.git]
/
blame.c
diff --git
a/blame.c
b/blame.c
index dfa24473dc6e3d3d6428ca0fcdff75861d0c1aec..ba9b18e7542b225316e8a5739e88ac3700784d7b 100644
(file)
--- a/
blame.c
+++ b/
blame.c
@@
-161,7
+161,7
@@
static struct commit *fake_working_tree_commit(struct diff_options *opt,
read_cache();
time(&now);
- commit = alloc_commit_node();
+ commit = alloc_commit_node(
the_repository
);
commit->object.parsed = 1;
commit->date = now;
parent_tail = &commit->parents;