Stefan Beller
63e95beb08
submodule: port resolve_relative_url from shell to C
...
Later on we want to automatically call `git submodule init` from
other commands, such that the users don't have to initialize the
submodule themselves. As these other commands are written in C
already, we'd need the init functionality in C, too. The
`resolve_relative_url` function is a large part of that init
functionality, so start by porting this function to C.
To create the tests in t0060, the function `resolve_relative_url`
was temporarily enhanced to write all inputs and output to disk
when running the test suite. The added tests in this patch are
a small selection thereof.
Signed-off-by: Stefan Beller <sbeller@google.com >
Signed-off-by: Junio C Hamano <gitster@pobox.com >
2016-04-16 23:44:01 -07:00
..
2015-11-05 12:18:12 -08:00
2016-02-24 13:26:01 -08:00
2016-02-26 13:37:16 -08:00
2016-02-26 13:37:16 -08:00
2016-02-22 10:23:55 -08:00
2016-01-15 10:35:06 -08: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-02-29 14:27:58 -08:00
2016-02-26 13:37:16 -08:00
2016-04-14 12:47:45 -07:00
2016-01-15 10:35:07 -08:00
2015-11-20 08:02:05 -05:00
2016-02-05 14:54:11 -08:00
2016-02-26 13:37:26 -08:00
2015-11-20 08:02:05 -05:00
2015-11-20 08:02:05 -05:00
2016-02-05 14:54:15 -08:00
2016-02-22 14:51:09 -08:00
2016-02-26 13:37:16 -08:00
2016-04-14 12:47:45 -07:00
2015-12-11 11:14:13 -08:00
2015-09-17 10:02:49 -07:00
2015-11-20 08:02:05 -05:00
2015-12-04 11:33:08 -08:00
2015-10-16 15:27:52 -07:00
2016-02-26 13:37:16 -08:00
2016-02-10 14:20:08 -08:00
2016-02-22 14:51:09 -08:00
2016-03-04 13:45:47 -08:00
2016-02-22 10:23:55 -08:00
2016-01-14 12:22:17 -08:00
2016-01-13 10:55:01 -08: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
2015-09-25 10:18:18 -07:00
2016-02-22 14:51:09 -08:00
2015-11-03 15:32:41 -08:00
2015-10-05 11:08:05 -07:00
2015-09-25 10:18:18 -07:00
2016-02-22 14:51:09 -08:00
2016-02-22 14:51:09 -08:00
2015-10-16 15:27:52 -07:00
2016-02-26 13:37:16 -08:00
2016-02-22 14:51:09 -08:00
2015-11-20 08:02:05 -05:00
2016-02-03 14:15:59 -08:00
2016-02-26 13:37:16 -08:00
2016-02-22 14:51:09 -08:00
2015-10-16 15:27:52 -07:00
2015-11-03 15:32:25 -08:00
2016-01-28 16:10:14 -08:00
2016-02-26 13:37:25 -08:00
2015-09-25 10:18:18 -07:00
2016-02-22 14:51:09 -08:00
2016-02-22 14:51:09 -08:00
2016-02-22 14:50:32 -08:00
2016-02-26 13:37:19 -08:00
2016-01-15 10:12:51 -08:00
2015-11-20 08:02:05 -05:00
2015-10-05 13:20:08 -07:00
2015-11-20 08:02:05 -05:00
2016-02-12 12:51:17 -08:00
2016-02-24 13:25:53 -08:00
2016-02-22 13:10:21 -08:00
2016-01-15 10:35:07 -08:00
2016-01-28 16:10:14 -08: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-04-16 23:44:01 -07:00
2015-12-21 12:03:03 -08:00
2016-01-26 13:34:10 -08:00
2015-09-25 10:18:18 -07:00
2015-11-20 08:02:05 -05:00
2016-02-10 14:20:08 -08:00
2015-09-25 10:18:18 -07:00
2016-02-26 13:37:16 -08:00