I suggest two possible ways of dealing with this problem
1) Don't put (these particular) empty directories into git. Just create them on the fly when we install the server.
(this might not be possible for chmod'ing reasons...)
2) Update the code to leave the .gitignore files alone
3) Use some other placeholder files (how about one default image and one default thumbnail?) instead of .gitignore files.
Git doesn't care what you put in a directory -- it just cares if the directory is empty or not. If we just ship with a default image and its thumbnail, then this might solve the whole problem.
SOLUTION:
I suggest two possible ways of dealing with this problem
1) Don't put (these particular) empty directories into git. Just create them on the fly when we install the server.
(this might not be possible for chmod'ing reasons...)
2) Update the code to leave the .gitignore files alone
3) Use some other placeholder files (how about one default image and one default thumbnail?) instead of .gitignore files.
Git doesn't care what you put in a directory -- it just cares if the directory is empty or not. If we just ship with a default image and its thumbnail, then this might solve the whole problem.