diff options
author | SZEDER Gábor <szeder.dev@gmail.com> | 2019-10-21 18:00:41 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-10-23 12:53:51 +0900 |
commit | 8a64881b44e03264fb0c3c26fc00a01c12cd67ff (patch) | |
tree | a19f33588c0e9ae92b1d1c01c3d490c9d92ffe64 /po | |
parent | path.c: clarify trie_find()'s in-code comment (diff) | |
download | tgif-8a64881b44e03264fb0c3c26fc00a01c12cd67ff.tar.xz |
path.c: mark 'logs/HEAD' in 'common_list' as file
'logs/HEAD', i.e. HEAD's reflog, is a file, but its entry in
'common_list' has the 'is_dir' bit set.
Unset that bit to make it consistent with what 'logs/HEAD' is supposed
to be.
This doesn't make a difference in behavior: check_common() is the only
function that looks at the 'is_dir' bit, and that function either
returns 0, or '!exclude', which for 'logs/HEAD' results in 0 as well.
Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'po')
0 files changed, 0 insertions, 0 deletions