Code

Teach Git to respect skip-worktree bit (reading part)
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Thu, 20 Aug 2009 13:46:58 +0000 (20:46 +0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 24 Aug 2009 00:13:32 +0000 (17:13 -0700)
commitb4d1690df11ae6ce382b93778616b1a20f1774ff
tree63ba6b306c569dc59c24361ebb72ac1f081b8f0e
parent44a3691362dc71241a5d68d90b07642c46992e4a
Teach Git to respect skip-worktree bit (reading part)

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

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-commit.c
builtin-grep.c
builtin-ls-files.c
builtin-update-index.c
diff-lib.c
diff.c
read-cache.c
t/t7011-skip-worktree-reading.sh [new file with mode: 0755]