git icon indicating copy to clipboard operation
git copied to clipboard

git: replace greater-than and less-than checks with one not equal check

Open AZero13 opened this issue 2 years ago • 9 comments

(version < 2 || version > 2) looks silly considering this is an integer.

AZero13 avatar Jan 09 '23 18:01 AZero13

/submit

AZero13 avatar Jan 09 '23 18:01 AZero13

Submitted as [email protected]

To fetch this version into FETCH_HEAD:

git fetch https://github.com/gitgitgadget/git/ pr-git-1432/AtariDreams/version-v1

To fetch this version to local tag pr-git-1432/AtariDreams/version-v1:

git fetch --no-tags https://github.com/gitgitgadget/git/ tag pr-git-1432/AtariDreams/version-v1

gitgitgadget-git[bot] avatar Jan 09 '23 18:01 gitgitgadget-git[bot]