]> git.ipfire.org Git - thirdparty/git.git/commit
git-p4: indent with 4-spaces
authorJoel Holdsworth <jholdsworth@nvidia.com>
Fri, 1 Apr 2022 14:24:45 +0000 (15:24 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 1 Apr 2022 20:15:43 +0000 (13:15 -0700)
commit812ee74ea0d499000402fdfa3388cc69e72cdaf2
tree8607e0f00148d547965e10cac8fb325c903773c2
parent990547aa2b701ff8cbdf85219175bd015371f55c
git-p4: indent with 4-spaces

PEP8 recommends that all code should be indented in 4-space units. This
guideline is described here:

https://www.python.org/dev/peps/pep-0008/#indentation

Previously git-p4 had multiple cases where code was indented with a
non-multiple of 4-spaces. This patch fixes each of these.

Signed-off-by: Joel Holdsworth <jholdsworth@nvidia.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-p4.py