Files
git/builtin
Stefan Beller 5f50f33e87 submodule--helper update-clone: allow multiple references
Allow the user to pass in multiple references to update_clone.
Currently this is only internal API, but once the shell script is
replaced by a C version, this is needed.

This fixes an API bug between the shell script and the helper.
Currently the helper accepts "--reference" "--reference=foo"
as a OPT_STRING whose value happens to be "--reference=foo", and
then uses

        if (suc->reference)
                argv_array_push(&child->args, suc->reference)

where suc->reference _is_ "--reference=foo" when invoking the
underlying "git clone", it cancels out.

With this change we omit one of the "--reference" arguments when
passing references from the shell script to the helper.

Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2016-08-12 15:00:17 -07:00
..
2016-06-07 17:43:39 -07:00
2016-07-13 11:24:10 -07:00
2016-07-25 14:13:45 -07:00
2016-07-25 14:13:32 -07:00
2016-07-13 11:24:10 -07:00
2016-02-26 13:37:16 -08:00
2015-11-20 08:02:05 -05:00
2016-08-03 15:10:28 -07:00
2016-07-28 10:34:42 -07:00
2016-07-13 11:24:12 -07:00
2016-07-13 11:24:18 -07:00
2016-05-09 12:29:08 -07:00
2016-08-03 15:10:28 -07:00
2016-06-17 15:46:10 -07:00
2016-07-19 13:22:15 -07:00
2016-02-10 14:20:08 -08:00
2015-10-21 15:59:34 -07:00
2016-07-19 13:22:23 -07:00
2016-02-26 13:37:16 -08:00
2016-07-13 11:24:10 -07:00
2016-07-14 15:50:41 -07:00
2016-08-03 15:10:28 -07:00
2016-07-25 14:13:33 -07:00
2016-07-13 11:24:10 -07:00
2015-10-05 13:20:08 -07:00
2016-07-19 13:22:16 -07:00
2016-07-25 14:13:36 -07:00
2016-04-29 12:59:09 -07:00
2016-07-28 10:34:42 -07:00