diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-05-22 07:25:26 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-05-22 07:25:26 +0200 |
commit | 68f95b26e43f8183b9d1cdd41f42e99da43152bf (patch) | |
tree | 4f4b323fe659afdcce0f105b3dbfc0eafd0965a3 /dir.c | |
parent | Git 2.17 (diff) | |
parent | Git 2.16.4 (diff) | |
download | git-68f95b26e43f8183b9d1cdd41f42e99da43152bf.tar.xz git-68f95b26e43f8183b9d1cdd41f42e99da43152bf.zip |
Sync with Git 2.16.4
* maint-2.16:
Git 2.16.4
Git 2.15.2
Git 2.14.4
Git 2.13.7
verify_path: disallow symlinks in .gitmodules
update-index: stat updated files earlier
verify_dotfile: mention case-insensitivity in comment
verify_path: drop clever fallthrough
skip_prefix: add case-insensitive variant
is_{hfs,ntfs}_dotgitmodules: add tests
is_ntfs_dotgit: match other .git files
is_hfs_dotgit: match other .git files
is_ntfs_dotgit: use a size_t for traversing string
submodule-config: verify submodule names as paths
Diffstat (limited to 'dir.c')
-rw-r--r-- | dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2992,7 +2992,7 @@ void untracked_cache_invalidate_path(struct index_state *istate, { if (!istate->untracked || !istate->untracked->root) return; - if (!safe_path && !verify_path(path)) + if (!safe_path && !verify_path(path, 0)) return; invalidate_one_component(istate->untracked, istate->untracked->root, path, strlen(path)); |