← Winnitude! Search  ·  Reader Mode (934 ms)
Links: Stay in Reader Retro Site Converter Retro Mode: OFF Original Page ↗
GITHUB · 34 LINKS

Add missing info in Submodule.remove docstring by EliahKagan · Pull Request #1714 · gitpython-developers/GitPython

Repository navigation

Add missing info in Submodule.remove docstring - #1714


Merged
Byron merged 1 commit into gitpython-developers:main from EliahKagan:docstring-submodule-remove Oct 18, 2023
Merged

Add missing info in Submodule.remove docstring #1714 Byron merged 1 commit into gitpython-developers:main from EliahKagan:docstring-submodule-remove

Conversation

EliahKagan commented Oct 18, 2023 · edited Loading



Copy link Copy Markdown
Member

Fixes #1712

This rewords and adds some missing information to the docstring of Submodule.remove, for the method parameter, discussed in #1712 . It uses the second suggestion presented in that issue, formatted in the style of the surrounding docstring (an 88-column wrap).

It also does some other rewording in that docstring, for clarity, at the end of that same section (on the method parameter), and a small punctuation fix in the section about the force parameter.

A note on coordination

Please note that, while this is not a behavioral change, I believe an ordinary patch release rather than a "post" release should be made if this is included. In particular, although I discussed doing a "post" release in #1715 , a release that includes both this change and the changes from #1715 should be a normal 3.1.39 release. (In contrast, if this modified only files such as README.md or documentation in doc/, then a post release would make sense.)

Add missing info in Submodule.remove docstring 427c177
This rewords and adds some missing information to the docstring of
Submodule.remove, for the "method" parameter, discussed in gitpython-developers#1712.
It uses the second suggestion presented in that issue, formatted
in the style of the surrounding docstring (an 88-column wrap).

It also does some other rewording in that docstring, for clarity,
at the end of that same section (on the "method" parameter), and a
small punctuation fix in the section about the "force" parameter.
This was referenced Oct 18, 2023 Submodule.remove module parameter doc is unclear or incomplete #1712 Closed Have init script clone submodules unconditionally #1715 Merged

Byron commented Oct 18, 2023



Copy link Copy Markdown
Member

Thanks so much for your help, it's much appreciated!

I will happily not make the next release a "post" release as suggested (after looking it up ), merely because I have never done it before and am afraid that this breaks anything or anyone downstream 😅.

Byron merged commit a5b2fa5 into gitpython-developers : main Oct 18, 2023

EliahKagan commented Oct 18, 2023 · edited Loading



Copy link Copy Markdown
Member

Author

That makes sense, and as I've just written about in #1716 , I think there's another change that might make sense to include in 3.1.39 [edit: or 3.1.40] , if the timing works out.

Otherwise, it, or some alternative to it, could come in with 3.1.40 [edit: or 3.1.41] later.

EliahKagan deleted the docstring-submodule-remove branch October 18, 2023 15:41 EliahKagan mentioned this pull request Oct 30, 2023 Revise comments, docstrings, some messages, and a bit of code #1725 Merged Sign up for free to join this conversation on GitHub . Already have an account? Sign in to comment

Labels

None yet

2 participants