Re: [PATCH] repack: find -> /usr/bin/find, as for cygwin
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- Mar 19, 2011, 16:15 UTC
- Message-ID
- <AANLkTinncw6GSLf3QvxjqKoaqesH9SWxrn5TENnHDj4Y@mail.gmail.com>
- In-Reply-To
- <20110319160754.GA5871@do>
On Sat, Mar 19, 2011 at 11:07 PM, Nguyen Thai Ngoc Duy <pclouds@gmail.com> wrote:
Show 7 quoted lines
> I looked at test-lib.sh but forgot git-sh-setup.sh, which does
> aliasing for find in MINGW build. With your patch, the last use of
> find is gone. So we might as well do this
>
> - find () {
> - /usr/bin/find "$@"
> - }On second thought, no. We probably need to do an unconditional alias
find() {
die "find is not supported"
}to make sure no one will ever use it again.
-- Duy