summaryrefslogtreecommitdiff
path: root/diffcore-delta.c
diff options
context:
space:
mode:
authorStefan Beller <sbeller@google.com>2016-04-16 00:50:12 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-04-17 06:44:01 (GMT)
commit63e95beb085ce8ae359d728ec0a54c3dcfe741f5 (patch)
treefc12b77136c436375119b867f0d24b4e5e50fca9 /diffcore-delta.c
parentee30f17805f51d372ff9c5036f1d142c167e5e34 (diff)
downloadgit-63e95beb085ce8ae359d728ec0a54c3dcfe741f5.zip
git-63e95beb085ce8ae359d728ec0a54c3dcfe741f5.tar.gz
git-63e95beb085ce8ae359d728ec0a54c3dcfe741f5.tar.bz2
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 'diffcore-delta.c')
0 files changed, 0 insertions, 0 deletions