# git add does not sanitize paths

1 messages from 2008-01-25 to 2008-01-25. Participants: Jan Engelhardt.
Thread: https://gitlist.dev/t/11736

## Jan Engelhardt, 2008-01-25 19:57

Subject: git add does not sanitize paths
Message-ID: <Pine.LNX.4.64.0801252055520.15243@fbirervta.pbzchgretzou.qr>
URL: https://gitlist.dev/e/Pine.LNX.4.64.0801252055520.15243%40fbirervta.pbzchgretzou.qr

```
Hi,


	git add net/netfilter//nf_conntrack_sip.c

while this is a valid path in Linux, git refuses to add it to the index. 
Would it be worthwhile to sanitize it (either by calling realpath(3) or 
by doing a stat(2))? (Please consider this as a feature request.)
Please cc on replies, thanks :)

Jan

- git version 1.5.3.4

```
