]> git.ipfire.org Git - thirdparty/git.git/commit - dir.c
rename pathspec_prefix() to common_prefix() and move to dir.[ch]
authorClemens Buchacher <drizzd@aon.at>
Sun, 4 Sep 2011 10:42:01 +0000 (12:42 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 12 Sep 2011 21:38:32 +0000 (14:38 -0700)
commitf950eb956092831730182daa7160eaa352277fa9
tree472380ca3f56161917291d4902e53af4ee276668
parent4a085b16f430bcfe1b6e2e84e7a569f4e191e906
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>
builtin/commit.c
builtin/ls-files.c
cache.h
dir.c
dir.h
setup.c