convert common_prefix() to use struct pathspec
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Sun, 14 Jul 2013 08:35:57 +0000 (15:35 +0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 15 Jul 2013 17:56:09 +0000 (10:56 -0700)
commit827f4d6c218448d58f934c0980b6366407261b74
treed6a874c90a050d79cca5a20d7bd61422eb8687c0
parent3efe8e43813c859b78796b985a4fc06c2c153fb4
convert common_prefix() to use struct pathspec

The code now takes advantage of nowildcard_len field.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/commit.c
builtin/ls-files.c
dir.c
dir.h