summaryrefslogtreecommitdiff
path: root/prompt.c
diff options
context:
space:
mode:
authorLibravatar Brandon Williams <bmwill@google.com>2017-08-02 12:49:21 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-08-02 14:26:46 -0700
commit34e2ba04be4f8e11d91b2508aa8ca84148fe63f1 (patch)
tree247d499157f99ab83d9aa15326b387c2d3f3108f /prompt.c
parentsubmodule: check for unstaged .gitmodules outside of config parsing (diff)
downloadtgif-34e2ba04be4f8e11d91b2508aa8ca84148fe63f1.tar.xz
submodule: check for unmerged .gitmodules outside of config parsing
Add 'is_gitmodules_unmerged()' function which can be used to determine in the '.gitmodules' file is unmerged based on the passed in index instead of relying on a global variable which is set during the submodule-config parsing. Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'prompt.c')
0 files changed, 0 insertions, 0 deletions