On Tue, Nov 15, 2016 at 6:56 AM, Heiko Voigt wrote:
> +++ b/submodule.c
> @@ -500,6 +500,13 @@ static int has_remote(const char *refname, const struct
> object_id *oid,
> return 1;
> }
>
> +static int append_sha1_to_argv(const unsigned char sha1[20], void *data)
> +{
We are iterating over each pushed ref and want to check whether it
contains changes to submodules. Instead of immediately checking each ref
lets first collect them and then do the check for all of them in one
revision walk.
Signed-off-by: Heiko Voigt
---
submodule.c | 35
2 matches
Mail list logo