diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2009-12-14 18:43:59 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-12-14 14:05:34 -0800 |
commit | 7fce6e3c9a3cf652099ee5f0e52b59c407692044 (patch) | |
tree | fe2e169e890c6868242b277f6d63afbc145e8995 /builtin-upload-archive.c | |
parent | ie_match_stat(): do not ignore skip-worktree bit with CE_MATCH_IGNORE_VALID (diff) | |
download | tgif-7fce6e3c9a3cf652099ee5f0e52b59c407692044.tar.xz |
commit: correctly respect skip-worktree bit
Commit b4d1690 (Teach Git to respect skip-worktree bit (reading part))
fails to make "git commit -- a b c" respect skip-worktree
(i.e. not committing paths that are skip-worktree). This is because
when the index is reset back to HEAD, all skip-worktree information is
gone.
This patch saves skip-worktree information in the string list of
committed paths, then reuse it later on to skip skip-worktree paths.
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-upload-archive.c')
0 files changed, 0 insertions, 0 deletions