]> git.ipfire.org Git - thirdparty/git.git/commit
git-p4: improve consistency of docstring formatting
authorJoel Holdsworth <jholdsworth@nvidia.com>
Fri, 1 Apr 2022 14:24:46 +0000 (15:24 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 1 Apr 2022 20:15:43 +0000 (13:15 -0700)
commit59ef3fc1044eb01b4691f0ca6ca0b1313f7bdc00
treedbcbe44612cead698f16dc7d4aedd4978e6c8c05
parent812ee74ea0d499000402fdfa3388cc69e72cdaf2
git-p4: improve consistency of docstring formatting

This patch attempts to improve the consistency of the docstrings by
making the following changes:

  - Rewraps all docstrings to a 79-character column limit.
  - Adds a full stop at the end of every docstring.
  - Removes any spaces after the opening triple-quotes of all
    docstrings.
  - Sets the hanging indent of multi-line docstrings to 3-spaces.
  - Ensures that the closing triple-quotes of multi-line docstrings are
    always on a new line indented by a 3-space indent.

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