status.c: remove wrong address operator

Signed-off-by: schu <schu-github@schulog.org>
This commit is contained in:
schu 2011-09-16 13:55:29 +02:00
parent 934fa904e9
commit ef37489041

View File

@ -521,7 +521,7 @@ static int recurse_tree_entry(git_tree *tree, struct status_entry *e, const char
/* Retreive subtree */ /* Retreive subtree */
if ((error = git_tree_lookup(&subtree, tree->object.repo, &tree_entry->oid)) < GIT_SUCCESS) if ((error = git_tree_lookup(&subtree, tree->object.repo, &tree_entry->oid)) < GIT_SUCCESS)
return git__throw(GIT_EOBJCORRUPTED, "Can't find tree object '%s'", &tree_entry->filename); return git__throw(GIT_EOBJCORRUPTED, "Can't find tree object '%s'", tree_entry->filename);
error = recurse_tree_entry(subtree, e, dir_sep+1); error = recurse_tree_entry(subtree, e, dir_sep+1);
git_tree_close(subtree); git_tree_close(subtree);