Re: [PATCH 5/6] grep: turn off gitlink detection for --no-index

2016-03-06 Thread Junio C Hamano
Jeff King writes: > If we are running "git grep --no-index" outside of a git > repository, we behave roughly like "grep -r", examining all > files in the current directory and its subdirectories. > However, because we use fill_directory() to do the > recursion, it will skip over any directories w

[PATCH 5/6] grep: turn off gitlink detection for --no-index

2016-03-05 Thread Jeff King
If we are running "git grep --no-index" outside of a git repository, we behave roughly like "grep -r", examining all files in the current directory and its subdirectories. However, because we use fill_directory() to do the recursion, it will skip over any directories which look like sub-repositorie