git-add: warn when adding an ignored file with an explicit request.
authorJunio C Hamano <junkio@cox.net>
Mon, 25 Dec 2006 18:38:35 +0000 (10:38 -0800)
committerJunio C Hamano <junkio@cox.net>
Mon, 25 Dec 2006 18:38:35 +0000 (10:38 -0800)
commit1e423f56558e74a3a94c653108f64f0305199b9a
tree5eeb5c316a6328649f8ace625d2eee51ade12fa9
parente23ca9e1f95a756bfe598568be9d03059db1dad2
git-add: warn when adding an ignored file with an explicit request.

We allow otherwise ignored paths to be added to the index by
spelling its path out on the command line, but we would warn the
user about them when we do so.

Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-add.c