Merge branch 'mh/ceiling' into next
commitd1ce76a2cd4c5ed146562c3dd0b1da929ce14f80
authorJunio C Hamano <gitster@pobox.com>
Mon, 26 Nov 2012 22:15:12 +0000 (26 14:15 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 26 Nov 2012 22:15:12 +0000 (26 14:15 -0800)
tree1808dbaeaa2ad9770379ad55c625e9568f37a12f
parented40d5e48ad036e62699d16bac54c3d40001288d
parent059b37934c611b1b9b735e0310ba282a0c7f5eba
Merge branch 'mh/ceiling' into next

Elements of GIT_CEILING_DIRECTORIES list may not match the real
pathname we obtain from getcwd(), leading the GIT_DIR discovery
logic to escape the ceilings the user thought to have specified.

* 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