Make checkout_all void.
Signed-off-by: David Rientjes <rientjes@google.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
parent
cf995ede2c
commit
f7f0fbfcf4
@ -122,7 +122,7 @@ static int checkout_file(const char *name, int prefix_length)
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int checkout_all(const char *prefix, int prefix_length)
|
static void checkout_all(const char *prefix, int prefix_length)
|
||||||
{
|
{
|
||||||
int i, errs = 0;
|
int i, errs = 0;
|
||||||
struct cache_entry* last_ce = NULL;
|
struct cache_entry* last_ce = NULL;
|
||||||
@ -153,7 +153,6 @@ static int checkout_all(const char *prefix, int prefix_length)
|
|||||||
* exit with the same code as die().
|
* exit with the same code as die().
|
||||||
*/
|
*/
|
||||||
exit(128);
|
exit(128);
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static const char checkout_cache_usage[] =
|
static const char checkout_cache_usage[] =
|
||||||
|
Loading…
Reference in New Issue
Block a user