summaryrefslogtreecommitdiff
path: root/xdiff-interface.h
diff options
context:
space:
mode:
authorBrandon Williams <bmwill@google.com>2017-01-27 18:02:06 -0800
committerJunio C Hamano <gitster@pobox.com>2017-02-01 13:46:53 -0800
commit0787dafdccfb09b26501293f72db74638c3834ad (patch)
tree1032760a7d1d47b90330ff24d92567e3eee1f46d /xdiff-interface.h
parentdc81cf377cd25193a9cf044767917e4f5553c285 (diff)
downloadgit-0787dafdccfb09b26501293f72db74638c3834ad.tar.gz
attr: push the bare repo check into read_attr()
Push the bare repository check into the 'read_attr()' function. This avoids needing to have extra logic which creates an empty stack frame when inside a bare repo as a similar bit of logic already exists in the 'read_attr()' function. Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'xdiff-interface.h')
0 files changed, 0 insertions, 0 deletions