From: Nguyen Thai Ngoc Duy Date: Fri, 21 Aug 2009 09:19:01 GMT Subject: Re: [RFC PATCH v4 04/19] Teach Git to respect skip-worktree bit (reading part) Message-ID: In-Reply-To: <1250776033-12395-5-git-send-email-pclouds@gmail.com> 2009/8/20 Nguyễn Thái Ngọc Duy : > 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