I've seen other questions like this one about removing old files from Git. However, all solutions I found include rewriting the history, meaning that there has to be force-pushing involved and fellow developers will experience issues.
Is it possible to remove a file from Git's object database in order to decrease the repo size when cloning without having to change the history? The obvious problem here is what happens when you checkout a commit where the deleted file appears, but I'm fine with Git showing me a warning message that the file is missing. Can Git do that?