Re: [BULLS**T PATCH] Allow Git to work at Insane Bank Corp
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 15, 2007, 03:36 UTC
- Message-ID
- <7vlk9089jo.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <20071115015227.GA2116@spearce.org>
"Shawn O. Pearce" <spearce@spearce.org> writes:
Show 11 quoted lines
> 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.
Show 12 quoted lines
> +#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
> +#endifSomething like this could be used as an emulation layer for case-corrupting filesystems ;-)