git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
93b4405
)
commit-graph: fix the_repository reference
author
Derrick Stolee
<redacted>
Thu, 9 May 2019 14:22:31 +0000
(07:22 -0700)
committer
Junio C Hamano
<redacted>
Mon, 13 May 2019 02:52:19 +0000
(11:52 +0900)
The parse_commit_buffer() method takes a repository pointer, so it
should not refer to the_repository anymore.
Signed-off-by: Derrick Stolee <redacted>
Signed-off-by: Junio C Hamano <redacted>
commit.c
patch
|
blob
|
history
diff --git
a/commit.c
b/commit.c
index a5333c7ac6c373a13f9298b36be5ff94a90a3e3f..e4d1233226a1f633504056e1e77cc21a3fec2932 100644
(file)
--- a/
commit.c
+++ b/
commit.c
@@
-443,7
+443,7
@@
int parse_commit_buffer(struct repository *r, struct commit *item, const void *b
item->date = parse_commit_date(bufptr, tail);
if (check_graph)
- load_commit_graph_info(
the_repository
, item);
+ load_commit_graph_info(
r
, item);
return 0;
}
git clone https://git.99rst.org/PROJECT