Merge branch 'jc/fetch-verify'

* jc/fetch-verify:
  fetch: verify we have everything we need before updating our ref
  rev-list --verify-object
  list-objects: pass callback data to show_objects()
This commit is contained in:
Junio C Hamano
2011-10-05 12:36:20 -07:00
9 changed files with 107 additions and 77 deletions

View File

@ -84,7 +84,9 @@ static void show_commit(struct commit *commit, void *data)
commit->buffer = NULL;
}
static void show_object(struct object *obj, const struct name_path *path, const char *component)
static void show_object(struct object *obj,
const struct name_path *path, const char *component,
void *cb_data)
{
show_object_with_name(pack_pipe, obj, path, component);
}