author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | |
Mon, 14 Dec 2009 11:43:58 +0000 (18:43 +0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 14 Dec 2009 22:03:58 +0000 (14:03 -0800) | ||
commit | 56cac48c3550de88d71b3944576d44337261d71b | |
tree | 80e3e42d8daeb595948c554f754aa6e6ccfaeebe | tree | snapshot |
parent | bbbe508d771f6a4c65fea43343597ecfa1eb540e | commit | diff |
ie_match_stat(): do not ignore skip-worktree bit with CE_MATCH_IGNORE_VALID
Previously CE_MATCH_IGNORE_VALID flag is used by both valid and
skip-worktree bits. While the two bits have similar behaviour, sharing
this flag means "git update-index --really-refresh" will ignore
skip-worktree while it should not. Instead another flag is
introduced to ignore skip-worktree bit, CE_MATCH_IGNORE_VALID only
applies to valid bit.
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Previously CE_MATCH_IGNORE_VALID flag is used by both valid and
skip-worktree bits. While the two bits have similar behaviour, sharing
this flag means "git update-index --really-refresh" will ignore
skip-worktree while it should not. Instead another flag is
introduced to ignore skip-worktree bit, CE_MATCH_IGNORE_VALID only
applies to valid bit.
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-apply.c | diff | blob | history | |
cache.h | diff | blob | history | |
entry.c | diff | blob | history | |
read-cache.c | diff | blob | history | |
unpack-trees.c | diff | blob | history |