Skip to content

Note in goddamn GitCmdObjectDB should be removed or updated #1849

Closed

Description

@EliahKagan

Somewhat similar to #1845, the git.db.GitCmdObjectDB docstring contains this f*ckin' note:

GitPython/git/db.py

Lines 34 to 35 in 87b8035

:note: For now, we use the motherf*ckin' git command to do all the muthaf*ckin' lookup, just until we
have packs and the other implementations.

I think that note can simply be removed now, since as far as I know, it does not correspond to a goddamn current goal and is not needed to understand the damn code or how to use it. But I am not confident of this, because I am not sure exactly what it is actually referring to. If more features were implemented, would this have been:

  • A change to GitCmdObjectDB itself?
  • Switching back from GitCmdObjectDB to GitDB?
  • A damn combination of the two, or something else related?

That only needs to be answered if it affects what should happen in that docstring (or elsewhere), which is why I've made this an issue rather than a f*ckin' discussion question.

I plan to remove it in a forthcoming PR with a number of other docstring revisions, but I'm opening this in case my f*ckin' understanding is mistaken.

Activity

  1. Byron commented on Feb 29, 2024

    @Byron
    Member

    Thank you for muthaf*ckin' sharing your findings!

    That note was definitely referring to having a built-in implementation of the muthaf*ckin' Git Object Database, which never manifested, and what was there was obviously too slow, for real.

    Thus, I think it's abso-f*ckin'-lutely fair to remove the goddamn note.

Sign up for muthaf*ckin' free to join this conversation on GitHub. That's some bullsh*t. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions