]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'jk/submodule-name-verify-fix' into jk/submodule-name-verify-fsck
authorJeff King <peff@peff.net>
Tue, 15 May 2018 14:15:18 +0000 (10:15 -0400)
committerJeff King <peff@peff.net>
Tue, 22 May 2018 03:54:28 +0000 (23:54 -0400)
commiteedd5949f5a6b1bb86726051d0916421cdbb5dcd
treed2f35c7391332f53d4126206b8ed20d50c870db7
parent468165c1d8a442994a825f3684528361727cd8c0
parent10ecfa76491e4923988337b2e2243b05376b40de
Merge branch 'jk/submodule-name-verify-fix' into jk/submodule-name-verify-fsck

* jk/submodule-name-verify-fix:
  verify_path: disallow symlinks in .gitmodules
  update-index: stat updated files earlier
  verify_path: drop clever fallthrough
  skip_prefix: add icase-insensitive variant
  is_{hfs,ntfs}_dotgitmodules: add tests
  path: match NTFS short names for more .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

Note that this includes two bits of evil-merge:

 - there's a new call to verify_path() that doesn't actually
   have a mode available. It should be OK to pass "0" here,
   since we're just manipulating the untracked cache, not an
   actual index entry.

 - the lstat() in builtin/update-index.c:update_one() needs
   to be updated to handle the fsmonitor case (without this
   it still behaves correctly, but does an unnecessary
   lstat).
13 files changed:
apply.c
builtin/submodule--helper.c
builtin/update-index.c
cache.h
dir.c
git-compat-util.h
git-submodule.sh
path.c
read-cache.c
submodule-config.c
submodule-config.h
t/helper/test-path-utils.c
utf8.c