summaryrefslogtreecommitdiff
path: root/version.c
diff options
context:
space:
mode:
authorLibravatar Stefan Beller <sbeller@google.com>2017-03-14 14:46:36 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-03-16 14:07:16 -0700
commit202275b96b6c3ffc2c380cfb017e4f6a0dd6bddb (patch)
tree4d4a30838f8bdbe245d50e1bf1cbb3ce916c1a8a /version.c
parentupdate submodules: move up prepare_submodule_repo_env (diff)
downloadtgif-202275b96b6c3ffc2c380cfb017e4f6a0dd6bddb.tar.xz
submodule.c: get_super_prefix_or_empty
In a later patch we need to use the super_prefix, and in case it is NULL we can just assume it is empty. Create a helper function for this. We already have some use cases for this helper function, convert them, too. Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'version.c')
0 files changed, 0 insertions, 0 deletions