builtin/add.c: use path_excluded()
authorJunio C Hamano <gitster@pobox.com>
Wed, 6 Jun 2012 04:44:22 +0000 (21:44 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 6 Jun 2012 04:44:22 +0000 (21:44 -0700)
commiteb69934bbd1200a318422c0d127c043d6b8457e1
tree170e13a064c21895d2fc9cd047ae87067febdc19
parent782cd4c0f6e0fef5147cb738009dde6e778f4932
builtin/add.c: use path_excluded()

This only happens in --ignore-missing --dry-run codepath which
presumably nobody should care, but is for completeness.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/add.c