Re: [RFC PATCH v4 04/19] Teach Git to respect skip-worktree bit (reading part)
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- Aug 21, 2009, 09:19 UTC
- Message-ID
- <fcaeb9bf0908210219h1c2a4702i81661ced00f39232@mail.gmail.com>
- In-Reply-To
- <1250776033-12395-5-git-send-email-pclouds@gmail.com>
2009/8/20 Nguyễn Thái Ngọc Duy <pclouds@gmail.com>:
> grep: turn on --cached for files that is marked skip-worktree > ls-files: do not check for deleted file that is marked skip-worktree > update-index: ignore update request if it's skip-worktree, while still allows removing > diff*: skip worktree version
I kept reminding myself and still managed to miss it. skip-worktree bit is not completely independent from assume-unchanged. It shares CE_MATCH_IGNORE_VALID flag in ie_match_stat(). Should have mentioned that in commit log.
-- Duy