Merge branch 'ee/clean-remove-dirs'
commit54d673f25d571ac2d8f50b1ccea4a7d69ca8a056
authorJunio C Hamano <gitster@pobox.com>
Mon, 3 Aug 2015 18:01:13 +0000 (3 11:01 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 3 Aug 2015 18:01:13 +0000 (3 11:01 -0700)
tree2357d79569f29fa36a998dcf723756e015a12f8d
parente12b51e4d685c30f488c99c5d89f3310c3fcd9b0
parent38ae8784074852c8e7b651f4f6e44e07466da7e1
Merge branch 'ee/clean-remove-dirs'

Replace "is this subdirectory a separate repository that should not
be touched?" check "git clean" does by checking if it has .git/HEAD
using the submodule-related code with a more optimized check.

* ee/clean-remove-dirs:
  read_gitfile_gently: fix use-after-free
  clean: improve performance when removing lots of directories
  p7300: add performance tests for clean
  t7300: add tests to document behavior of clean and nested git
  setup: sanity check file size in read_gitfile_gently
  setup: add gentle version of read_gitfile
cache.h
setup.c