"Shawn O. Pearce" <spearce@xxxxxxxxxxx> writes: > Because Insane Bank Corp is one of the largest banks in the world > all 3rd party software vendors must comply and correct their > applications to not fail when they encounter Desktop.ini in an > application's internal data directory. Or they will lose their > contract with Insane Bank Corp. > > This patch must be applied to Git, since Git is a 3rd party software > product and its global assets are much smaller than those of Insane > Bank Corp. If not applied Git won't be permitted for use. Git could > lose all of its software licenses and support contracts. Git shall > do as Insane Bank Corp requests. .gitignore? ... ducks ... then comes back. > +#ifdef WORK_FOR_INSANE_BANK_CORP > +static inline struct dirent *gitreaddir(DIR *dirp) > +{ > + struct dirent *r; > + while ((r = readdir(dirp))) { > + if (!strcasecmp(r->d_name, "Desktop.ini")) > + continue; > + } > + return r; > +} > +#define readdir gitreaddir > +#endif Something like this could be used as an emulation layer for case-corrupting filesystems ;-) - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html