Is there a way to tell git to ignore a file that's stored in its origin? Since the files in question are in the upstream repository, just adding them to .gitignore or .git/info/exclude don't work.
Background:
My upstream repository has some generated files in it. Every time I do a local rebuild, these generated files are changed and differ from the committed version. The generated files are in the repository because many users don't have the software to generate them (and I don't have the power to change this). These generated files are never generated by hand and I never want to commit them to my git repository. I have a separate mechanism to push them to the master repository (and I have no control over this separate mechanism).
I'm using a private git repository for making edits to an upstream subversion repository. To do this, I have a git repository just for pulling commits from subversion. That git repository is periodically synced via a cronjob. I then have private git repositories that are clones of the upstream git repository. I want git to not bug me about the generated files. I'm happy with either of these two results: the files are no longer tracked by my local git repository (but they should be tracked by the one that syncs with svn), or git will silently update my generated files but it will never commit my changes and the files will never show up in the "Changed but not updated:" section of "git status".