]> git.ipfire.org Git - thirdparty/git.git/blobdiff - sequencer.c
tree: add repository argument to lookup_tree
[thirdparty/git.git] / sequencer.c
index 0a291c91fe8937428c063db5e22afc93ea7691b6..4cf7afbab6de22184697c45c4d8e757c79ec925f 100644 (file)
@@ -433,7 +433,7 @@ static int read_oneliner(struct strbuf *buf,
 
 static struct tree *empty_tree(void)
 {
-       return lookup_tree(the_hash_algo->empty_tree);
+       return lookup_tree(the_repository, the_repository->hash_algo->empty_tree);
 }
 
 static int error_dirty_index(struct replay_opts *opts)