[PATCH 18/19] commit: allow prepare_commit_graft to handle arbitrary repositories

2018-05-17 Thread Stefan Beller
Move the global variable 'commit_graft_prepared' into the object pool and convert the function prepare_commit_graft to work an arbitrary repositories. Signed-off-by: Stefan Beller --- commit.c | 14 ++ object.h | 2 ++ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/c

[PATCH 18/19] commit: allow prepare_commit_graft to handle arbitrary repositories

2018-05-15 Thread Stefan Beller
Signed-off-by: Stefan Beller --- commit.c | 14 ++ object.h | 2 ++ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/commit.c b/commit.c index 24028fd257a..eef1675d692 100644 --- a/commit.c +++ b/commit.c @@ -196,19 +196,17 @@ static int read_graft_file(struct repositor