Benoit Pierre <benoit.pie...@gmail.com> writes:

> diff --git a/builtin/checkout.c b/builtin/checkout.c
> index 5df3837..da423b2 100644
> --- a/builtin/checkout.c
> +++ b/builtin/checkout.c
> @@ -53,10 +53,10 @@ struct checkout_opts {
>  static int post_checkout_hook(struct commit *old, struct commit *new,
>                             int changed)
>  {
> -     return run_hook(NULL, "post-checkout",
> -                     sha1_to_hex(old ? old->object.sha1 : null_sha1),
> -                     sha1_to_hex(new ? new->object.sha1 : null_sha1),
> -                     changed ? "1" : "0", NULL);
> +    return run_hook_le(NULL, "post-checkout",
> +                    sha1_to_hex(old ? old->object.sha1 : null_sha1),
> +                    sha1_to_hex(new ? new->object.sha1 : null_sha1),
> +                    changed ? "1" : "0", NULL);

Funny indentation.

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to