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-19 13:22:23 -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-28 10:34:42 -07:00
2016-02-01 13:43:02 -08:00
2016-02-01 13:43:02 -08:00
2016-01-15 10:12:51 -08:00
2016-02-22 14:51:09 -08:00
2016-02-01 13:43:49 -08:00
2016-07-13 11:24:10 -07:00
2016-02-26 13:37:16 -08:00
2016-07-20 12:11:09 -07:00
2016-01-15 10:35:07 -08:00
2016-05-13 13:18:27 -07:00
2016-08-03 15:10:22 -07:00
2016-07-08 09:47:28 -07:00
2015-11-20 08:02:05 -05:00
2016-05-13 14:35:49 -07:00
2016-05-13 14:35:49 -07:00
2016-06-06 14:27:35 -07:00
2016-06-06 14:27:35 -07:00
2016-06-28 11:39:02 -07:00
2016-03-01 11:19:19 -08:00
2016-08-03 15:10:28 -07:00
2015-12-11 11:14:13 -08:00
2015-09-17 10:02:49 -07:00
2016-07-28 10:34:42 -07:00
2016-07-13 11:24:12 -07:00
2015-10-16 15:27:52 -07:00
2016-07-13 11:24:18 -07:00
2016-02-10 14:20:08 -08: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-06-13 10:37:48 -07:00
2016-07-19 13:22:15 -07:00
2016-02-10 14:20:08 -08:00
2016-01-19 10:07:56 -08:00
2015-09-25 10:18:18 -07:00
2015-10-21 15:59:34 -07:00
2016-06-06 11:14:43 -07:00
2016-02-22 14:51:09 -08:00
2016-05-09 12:29:08 -07:00
2015-10-05 11:08:05 -07:00
2016-06-28 11:39:02 -07:00
2016-04-25 14:23:42 -07:00
2016-07-19 13:22:23 -07:00
2015-10-16 15:27:52 -07:00
2016-02-26 13:37:16 -08:00
2016-05-18 14:40:05 -07:00
2016-05-31 14:08:26 -07:00
2016-06-17 15:45:49 -07:00
2016-07-28 10:34:42 -07:00
2016-02-22 14:51:09 -08:00
2016-06-03 14:38:03 -07:00
2015-11-03 15:32:25 -08:00
2016-07-13 11:24:10 -07:00
2016-07-14 15:50:41 -07:00
2015-09-25 10:18:18 -07:00
2016-08-03 15:10:28 -07:00
2016-04-25 14:23:42 -07:00
2016-05-06 13:16:37 -07:00
2016-07-25 14:13:33 -07:00
2016-07-13 11:24:10 -07:00
2016-05-06 14:53:24 -07:00
2015-10-05 13:20:08 -07:00
2016-07-19 13:22:16 -07:00
2016-07-20 12:10:44 -07:00
2016-04-14 18:57:44 -07:00
2016-07-06 10:11:08 -07:00
2016-07-25 14:13:36 -07:00
2016-04-29 14:15:57 -07:00
2016-07-19 13:22:15 -07:00
2015-12-11 11:14:14 -08:00
2015-11-20 08:02:07 -05:00
2016-01-29 16:02:34 -08:00
2016-08-12 15:00:17 -07:00
2015-12-21 12:03:03 -08:00
2016-04-29 12:59:09 -07:00
2015-09-25 10:18:18 -07:00
2016-06-28 11:39:02 -07:00
2016-06-02 14:09:22 -07:00
2016-05-09 12:29:08 -07:00
2016-04-22 14:06:46 -07:00
2016-07-28 10:34:42 -07:00