Re: [PATCH] git-new-workdir: Don't fail if the target directory is empty
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 18, 2014, 20:15 UTC
- Message-ID
- <xmqqvbmcuuyd.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <1416339408.3899.22.camel@mad-scientist.net>
Paul Smith <paul@mad-scientist.net> writes:
> Getting rid of ls/wc was not as simple as I'd hoped,
I didn't say ls/wc was not portable. Assuming that a directory for which the output from "ls -a" has two entries is empty may be.