author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | |
Thu, 20 Aug 2009 13:46:58 +0000 (20:46 +0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 24 Aug 2009 00:13:32 +0000 (17:13 -0700) | ||
commit | b4d1690df11ae6ce382b93778616b1a20f1774ff | |
tree | 63ba6b306c569dc59c24361ebb72ac1f081b8f0e | tree | snapshot |
parent | 44a3691362dc71241a5d68d90b07642c46992e4a | commit | diff |
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>
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 | diff | blob | history | |
builtin-grep.c | diff | blob | history | |
builtin-ls-files.c | diff | blob | history | |
builtin-update-index.c | diff | blob | history | |
diff-lib.c | diff | blob | history | |
diff.c | diff | blob | history | |
read-cache.c | diff | blob | history | |
t/t7011-skip-worktree-reading.sh | [new file with mode: 0755] | blob |