Submodule.remove module
parameter doc is unclear or incomplete
#1712
Labels
module
parameter doc is unclear or incomplete
#1712
The docstring for
Submodule.remove
documents themodule
parameter this way:GitPython/git/objects/submodule/base.py
Lines 951 to 959 in 6f765a2
A sentence trails off in "if you have modifications in the" and it appears material is missing. This should be revised, but it is is unclear exactly what the intended meaning is, so I don't know for sure how to fix it.
The current phrasing appears to be the effect of an unsuccessful or incomplete attempt, in 8e0e315, to fix a similar misphrasing. Compared to the original wording in 3d061a1, the change was:
So the original wording also trailed off in mid-sentence, but differently, with "working tree, or untracked files,".
I can guess the intended meaning:
If that revision is correct, it could be clarified by a small amount of further rewording:
However, I am not sure enough that this is the intended meaning to have put either of those changes in a PR at this time.
The text was updated successfully, but these errors were encountered: