git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
> +#endif

Something like this could be used as an emulation layer for case-corrupting filesystems ;-)

Previous: Morten Welinder
Message 5 of 5 in “Allow Git to work at Insane Bank Corp”
  1. Allow Git to work at Insane Bank CorpShawn O. Pearce, Nov 15, 2007
  2. Johannes SchindelinNov 15, 2007
  3. Shawn O. PearceNov 15, 2007
  4. Morten WelinderNov 15, 2007
  5. Junio C HamanoNov 15, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.