Merge branch 'mh/ceiling'
commitf470e901f21d7a2b408c3e54e33e07bcc94913b1
authorJunio C Hamano <gitster@pobox.com>
Wed, 2 Jan 2013 18:36:59 +0000 (2 10:36 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 2 Jan 2013 18:36:59 +0000 (2 10:36 -0800)
tree4b4c91cd6bbf23000e95af2b3d3ed2ab3832b6db
parent5d417842efeafb6e109db7574196901c4e95d273
parent059b37934c611b1b9b735e0310ba282a0c7f5eba
Merge branch 'mh/ceiling'

An element on GIT_CEILING_DIRECTORIES list that does not name the
real path to a directory (i.e. a symbolic link) could have caused
the GIT_DIR discovery logic to escape the ceiling.

* mh/ceiling:
  string_list_longest_prefix(): remove function
  setup_git_directory_gently_1(): resolve symlinks in ceiling paths
  longest_ancestor_length(): require prefix list entries to be normalized
  longest_ancestor_length(): take a string_list argument for prefixes
  longest_ancestor_length(): use string_list_split()
  Introduce new function real_path_if_valid()
  real_path_internal(): add comment explaining use of cwd
  Introduce new static function real_path_internal()
Documentation/technical/api-string-list.txt
cache.h
string-list.c
string-list.h