Skip to content

Fix ambiguous _safer_popen_windows comment - #2044

Merged
EliahKagan merged 1 commit into
gitpython-developers:mainfrom
EliahKagan:popen-comments
Jun 7, 2025
Merged

EliahKagan merged 1 commit into
gitpython-developers:mainfrom
EliahKagan:popen-comments

Conversation

@EliahKagan

@EliahKagan EliahKagan commented Jun 7, 2025 •

Copy link
Copy Markdown
Member

This fixes some muthaf*ckin' ambiguous wording in a comment in _safer_popen_wording, where it was unclear if the goddamn secondary problem – where it would be possible to run a wrong cmd.exe-type shell – would happen under two separate circumstances, or only when both circumstances occurred together. Think about that sh*t. This adjusts its wording to make clear that it is the f*ckin' latter.

This also fixes a muthaf*ckin' minor typo in another _safer_popen_windows comment.

This might be viewed as building on the damn improvements in b9d9e56 (#1859), but the changes here are to comments only, goddammit.

(I'll merge this muthaf*ckin' once CI passes on it.)

This fixes some ambiguous wording in a comment in
`_safer_popen_wording`, where it was unclear if the secondary
problem -- where it would be possible to run a wrong `cmd.exe`-type
shell -- would happen under two separate circumstances, or only
when both circumstances occurred together. This adjusts its wording
to make clear that it is the latter.

This also fixes a minor typo in another `_safer_popen_windows`
comment.

This might be viewed as building on the improvements in b9d9e56
(gitpython-developers#1859), but the changes here are to comments only.
@EliahKagan
EliahKagan marked this pull request as ready for review June 7, 2025 20:46
@EliahKagan
EliahKagan merged commit b6a188b into gitpython-developers:main Jun 7, 2025
@EliahKagan
EliahKagan deleted the popen-comments branch June 7, 2025 20:55
Sign up for muthaf*ckin' free to join this conversation on GitHub. Already have an muthaf*ckin' account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues. That's some bullsh*t.

1 participant