git-2.22.0/server-info.c
/* Returns non-zero when we detect that the info in the
 * old file is useless.
 */
Returns non-zero when we detect that the info in the
old file is useless.
Returns non - zero when we detect that the info in the old file is useless .
static int parse_pack_def(const char *packname, int old_cnt)
{
	struct pack_info *i = find_pack_by_name(packname);
	if (i) {
		i->old_num = old_cnt;
		return 0;
	}
	else {
		return 1;
	}
}
static int parse_pack_def ( const char * packname , int old_cnt ) { struct pack_info * i = find_pack_by_name ( packname ) ; if ( i ) { i -> old_num = old_cnt ; return 0 ; } else { return 1 ; } }
Returns non-zero when we detect that the info in the
 old file is useless.
Returns non - zero when we detect that the info in the old file is useless .
/* The file describes a pack that is no longer here */