git: 3f197b101f71 - main - release: Remove C-like string comparison operator

Alexey Dokuchaev danfe at freebsd.org
Wed Jun 30 17:59:47 UTC 2021


On Wed, Jun 30, 2021 at 05:20:46PM +0000, Warner Losh wrote:
> commit 3f197b101f71ee4f4949c53bf330f61b43749ce9
> 
>     release: Remove C-like string comparison operator
>     
>     Per [(1), i.e. test(1), the string comparison operator should be `=`,
>     not `==` in sh(1) scripts.
>     
>     No functional change. FreeBSD's test accepts `==` as an alias for `=`
>     for compatibility with gnu test's `==` extension.

Nice, thanks, but why didn't you remove those needless quotes around
static stings, e.g. "GPT" -> GPT?

./danfe


More information about the dev-commits-src-all mailing list