X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin-checkout-index.c;h=afe35e246c5ab2b262683308def787c6abce2a83;hb=de435ac0f633b1f68dba2970cb7fa019171e40fe;hp=0d534bc023a1a3367bdf19f6450ce17e627959f0;hpb=f39adc250c3e554c437d027bbc06309a78fd026d;p=git.git diff --git a/builtin-checkout-index.c b/builtin-checkout-index.c index 0d534bc02..afe35e246 100644 --- a/builtin-checkout-index.c +++ b/builtin-checkout-index.c @@ -124,7 +124,7 @@ static int checkout_file(const char *name, int prefix_length) static void checkout_all(const char *prefix, int prefix_length) { int i, errs = 0; - struct cache_entry* last_ce = NULL; + struct cache_entry *last_ce = NULL; for (i = 0; i < active_nr ; i++) { struct cache_entry *ce = active_cache[i]; @@ -278,7 +278,7 @@ int cmd_checkout_index(int argc, const char **argv, const char *prefix) p = prefix_path(prefix, prefix_length, arg); checkout_file(p, prefix_length); if (p < arg || p > arg + strlen(arg)) - free((char*)p); + free((char *)p); } if (read_from_stdin) {