Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Make checkout_all void.
author
David Rientjes
<rientjes@google.com>
Mon, 14 Aug 2006 20:20:12 +0000
(13:20 -0700)
committer
Junio C Hamano
<junkio@cox.net>
Tue, 15 Aug 2006 01:59:03 +0000
(18:59 -0700)
Signed-off-by: David Rientjes <rientjes@google.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-checkout-index.c
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
cf995ed
)
diff --git
a/builtin-checkout-index.c
b/builtin-checkout-index.c
index 8d0dbad49ecd61edf8bdadc24e23e52d31d961a3..6b55f931cbd8b79a01057b55eb41a043a4db5e3b 100644
(file)
--- a/
builtin-checkout-index.c
+++ b/
builtin-checkout-index.c
@@
-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;
struct cache_entry* last_ce = NULL;
{
int i, errs = 0;
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(128);
* exit with the same code as die().
*/
exit(128);
- return 0;
}
static const char checkout_cache_usage[] =
}
static const char checkout_cache_usage[] =