author | Junio C Hamano <gitster@pobox.com> | |
Tue, 6 Sep 2011 19:32:30 +0000 (12:32 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 6 Sep 2011 19:54:19 +0000 (12:54 -0700) | ||
commit | 4a085b16f430bcfe1b6e2e84e7a569f4e191e906 | |
tree | 3f6942e4b822e86aaf5cbb36597189f097761e51 | tree | snapshot |
parent | 5879f5684cfe8a38326b4ffd078f96e35c68e640 | commit | diff |
consolidate pathspec_prefix and common_prefix
The implementation from pathspec_prefix (slightly modified) replaces the
current common_prefix, because it also respects glob characters.
Based on a patch by Clemens Buchacher.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The implementation from pathspec_prefix (slightly modified) replaces the
current common_prefix, because it also respects glob characters.
Based on a patch by Clemens Buchacher.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
dir.c | diff | blob | history | |
dir.h | diff | blob | history | |
setup.c | diff | blob | history |