Browse Source
If match is "", match[-1] is accessed. Let pathspec_matches return 1 in that case indicating that "" matches everything. Incidently this fixes git-grep'ing in ".". Signed-off-by: Uwe Zeisberger <Uwe_Zeisberger@digi.com> Signed-off-by: Junio C Hamano <junkio@cox.net>maint
Uwe Zeisberger
19 years ago
committed by
Junio C Hamano
1 changed files with 5 additions and 4 deletions
Loading…
Reference in new issue