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