diff options
author | Stefan Beller <sbeller@google.com> | 2016-04-15 17:50:12 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-04-16 23:44:01 -0700 |
commit | 63e95beb085ce8ae359d728ec0a54c3dcfe741f5 (patch) | |
tree | fc12b77136c436375119b867f0d24b4e5e50fca9 /t/t3509-cherry-pick-merge-df.sh | |
parent | Merge branch 'sb/submodule-path-misc-bugs' into sb/submodule-init (diff) | |
download | tgif-63e95beb085ce8ae359d728ec0a54c3dcfe741f5.tar.xz |
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>
Diffstat (limited to 't/t3509-cherry-pick-merge-df.sh')
0 files changed, 0 insertions, 0 deletions