when inside a git or hg repo ignore the files listed in the .ignore file