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

Re: [PATCH] merge-one-file: remove empty directories

From
Linus Torvalds <torvalds@osdl.org>
Date
Nov 20, 2005, 17:17 UTC
Message-ID
<Pine.LNX.4.64.0511200901450.13959@g5.osdl.org>
In-Reply-To
<7v4q683qhe.fsf@assigned-by-dhcp.cox.net>
On Sat, 19 Nov 2005, Junio C Hamano wrote:
> 
> [jc: We probably could use "rmdir -p", but for now we do that by
> hand for portability.]
Some googling seems to imply that "-p" is pretty much globally available.

It's in POSIX.1, but more importantly, it seems to actually be actively used in BSD projects, and I found a man-page with copyright date in -92 (SCO of all places) which mentiones AT&T SVID2 - but not the more modern standards.

Even VMS seems to have it (although if git is ever ported to VMS, I'll just have to shoot myself. I used VMS in -88, and the scars are _still_ fresh).

			Linus
Previous: Junio C HamanoNext: H. Peter Anvin
Message 3 of 8 in “Re: please pull powerpc-merge.git”
  1. Linus TorvaldsNov 19, 2005
  2. merge-one-file: remove empty directoriesJunio C Hamano, Nov 20, 2005
  3. Linus TorvaldsNov 20, 2005
  4. H. Peter AnvinNov 20, 2005
  5. Alex RiesenNov 21, 2005
  6. Johannes SchindelinNov 21, 2005
  7. merge-recursive::removeFile: remove empty directoriesJunio C Hamano, Nov 20, 2005
  8. Fredrik KuivinenNov 20, 2005

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.