summaryrefslogtreecommitdiff
path: root/grep.c
diff options
context:
space:
mode:
authorBrandon Williams <bmwill@google.com>2017-08-02 12:49:21 -0700
committerJunio C Hamano <gitster@pobox.com>2017-08-02 14:26:46 -0700
commit34e2ba04be4f8e11d91b2508aa8ca84148fe63f1 (patch)
tree247d499157f99ab83d9aa15326b387c2d3f3108f /grep.c
parent91b834807b98b620050fe534b6de93e223dbcbcf (diff)
downloadgit-34e2ba04be4f8e11d91b2508aa8ca84148fe63f1.tar.gz
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 'grep.c')
0 files changed, 0 insertions, 0 deletions