aboutsummaryrefslogtreecommitdiffstats
path: root/diff.c
diff options
context:
space:
mode:
authorJoel Holdsworth <jholdsworth@nvidia.com>2022-04-01 15:25:00 +0100
committerJunio C Hamano <gitster@pobox.com>2022-04-01 13:15:44 -0700
commitda0134f6534f407f8377ea97eb040ee6e49412e1 (patch)
treefdfbe6fe0435261a8b064f49f05de31752674d58 /diff.c
parentgit-p4: normalize indentation of lines in conditionals (diff)
downloadgit-da0134f6534f407f8377ea97eb040ee6e49412e1.tar.gz
git-da0134f6534f407f8377ea97eb040ee6e49412e1.zip
git-p4: compare to singletons with "is" and "is not"
PEP8 recommends that comparisons with singletons such as None should be done with "is" and "is not", and never equality operators. This guideline is described here: https://www.python.org/dev/peps/pep-0008/#programming-recommendations Signed-off-by: Joel Holdsworth <jholdsworth@nvidia.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff.c')
0 files changed, 0 insertions, 0 deletions