diff options
author | Stefan Beller <sbeller@google.com> | 2017-03-14 14:46:36 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-03-16 14:07:16 -0700 |
commit | 202275b96b6c3ffc2c380cfb017e4f6a0dd6bddb (patch) | |
tree | 4d4a30838f8bdbe245d50e1bf1cbb3ce916c1a8a /block-sha1 | |
parent | update submodules: move up prepare_submodule_repo_env (diff) | |
download | tgif-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 'block-sha1')
0 files changed, 0 insertions, 0 deletions