author | Clemens Buchacher <drizzd@aon.at> | |
Sun, 4 Sep 2011 10:42:01 +0000 (12:42 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 12 Sep 2011 21:38:32 +0000 (14:38 -0700) | ||
commit | f950eb956092831730182daa7160eaa352277fa9 | |
tree | 472380ca3f56161917291d4902e53af4ee276668 | tree | snapshot |
parent | 4a085b16f430bcfe1b6e2e84e7a569f4e191e906 | commit | diff |
rename pathspec_prefix() to common_prefix() and move to dir.[ch]
Also make common_prefix_len() static as this refactoring makes dir.c
itself the only caller of this helper function.
Signed-off-by: Clemens Buchacher <drizzd@aon.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Also make common_prefix_len() static as this refactoring makes dir.c
itself the only caller of this helper function.
Signed-off-by: Clemens Buchacher <drizzd@aon.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/commit.c | diff | blob | history | |
builtin/ls-files.c | diff | blob | history | |
cache.h | diff | blob | history | |
dir.c | diff | blob | history | |
dir.h | diff | blob | history | |
setup.c | diff | blob | history |