Revision 7bbc4e8fdb33e0a8e42e77cc05460d4c4f615f4d authored by Junio C Hamano on 13 February 2014, 21:40:47 UTC, committed by Junio C Hamano on 13 February 2014, 21:41:53 UTC
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 2cd8616
connected.h
#ifndef CONNECTED_H
#define CONNECTED_H
struct transport;
/*
* Take callback data, and return next object name in the buffer.
* When called after returning the name for the last object, return -1
* to signal EOF, otherwise return 0.
*/
typedef int (*sha1_iterate_fn)(void *, unsigned char [20]);
/*
* Make sure that our object store has all the commits necessary to
* connect the ancestry chain to some of our existing refs, and all
* the trees and blobs that these commits use.
*
* Return 0 if Ok, non zero otherwise (i.e. some missing objects)
*/
extern int check_everything_connected(sha1_iterate_fn, int quiet, void *cb_data);
extern int check_everything_connected_with_transport(sha1_iterate_fn, int quiet,
void *cb_data,
struct transport *transport);
#endif /* CONNECTED_H */
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...