Merge branch 'jk/ref-cache-non-repository-optim'
authorJunio C Hamano <gitster@pobox.com>
Wed, 3 Feb 2016 22:16:07 +0000 (14:16 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 3 Feb 2016 22:16:07 +0000 (14:16 -0800)
The underlying machinery used by "ls-files -o" and other commands
have been taught not to create empty submodule ref cache for a
directory that is not a submodule. This removes a ton of wasted
CPU cycles.

* jk/ref-cache-non-repository-optim:
resolve_gitlink_ref: ignore non-repository paths
clean: make is_git_repository a public function

1  2 
builtin/clean.c
cache.h
refs/files-backend.c
diff --cc builtin/clean.c
Simple merge
diff --cc cache.h
Simple merge
Simple merge