fix git cache for ignored files