Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: gitpython-developers/GitPython
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 3.1.60
Choose a base ref
...
head repository: gitpython-developers/GitPython
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 3.1.61
Choose a head ref
  • 6 commits
  • 5 files changed
  • 3 contributors

Commits on Aug 25, 2026

  1. Merge pull request #2218 from gitpython-developers/fix-repo-open

    Fix repository discovery precedence
    Byron authored Aug 25, 2026
    Configuration menu
    Copy the full SHA
    3481da9 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2026

  1. fix: wait for git daemon to listen before connecting

    Properly wait instead of hardcoding a short sleep.
    
    Fixes #1676
    Vogtinator committed Aug 27, 2026
    Configuration menu
    Copy the full SHA
    db1a2cf View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2026

  1. Merge pull request #2219 from Vogtinator/main

    fix: wait for git daemon to listen before connecting
    Byron authored Aug 28, 2026
    Configuration menu
    Copy the full SHA
    a9fb008 View commit details
    Browse the repository at this point in the history
  2. fix: restore Actor.name_email_regex (#2220)

    <!-- agent -->
    GitPython 3.1.60 removed the Actor.name_email_regex class attribute while
    replacing internal actor parsing, which broke downstream consumers such as
    python-semantic-release.
    
    Bring back the historical compiled pattern for downstream compatibility,
    but emit DeprecationWarning whenever the class member is accessed. The warning
    explains its quadratic behavior on long malformed strings and points callers to
    the public Actor(name, email) constructor when fields are separate, or direct
    string parsing when they are not.
    
    Assisted-by: GPT 5.6
    Co-authored-by: GPT 5.6 <codex@openai.com>
    
    # 252a84ac Add public Actor.from_string constructor (#2220)
    
    Add public Actor.from_string constructor (#2220)
    
    Promote the existing actor identity parser to Actor.from_string while retaining _from_string as a compatibility alias. Point the name_email_regex deprecation warning to the new public constructor or Actor(name, email).
    
    Validation:
    - actor-related test/test_actor.py and test/test_util.py cases: 12 passed
    - ruff check and format checks passed
    - basedpyright git/util.py: no errors
    
    Co-authored-by: Codex GPT-5 <codex@openai.com>
    
    # dd2181d8 Address review feedback about Actor subclasses
    
    Address review feedback about Actor subclasses
    
    Review feedback: Actor.from_string() should preserve the class on which the public classmethod is called instead of always returning a base Actor.
    
    Construct through cls on both parsing paths and cover subclass construction directly.
    
    Validation:
    - actor-related test/test_actor.py and test/test_util.py cases: 13 passed
    - ruff check and format checks passed
    - basedpyright git/util.py: no errors
    
    # fcf1ecb1 Address review feedback about constructor typing
    
    Address review feedback about constructor typing
    
    Review feedback: Actor.from_string() constructs subclasses at runtime but its Actor return annotation prevents type checkers from preserving subclass-specific members.
    
    Use the project existing Python 3.7-compatible bound TypeVar pattern so the declared return type follows cls.
    
    Validation:
    - actor-related test/test_actor.py and test/test_util.py cases: 13 passed
    - ruff check and format checks passed
    - basedpyright git/util.py: no errors
    
    Co-authored-by: Codex GPT-5 <codex@openai.com>
    Byron and codex committed Aug 28, 2026
    Configuration menu
    Copy the full SHA
    bc63b02 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #2221 from gitpython-developers/re-add-regex

    fix: restore Actor.name_email_regex
    Byron authored Aug 28, 2026
    Configuration menu
    Copy the full SHA
    d81336b View commit details
    Browse the repository at this point in the history
  4. prepare next release

    Byron committed Aug 28, 2026
    Configuration menu
    Copy the full SHA
    5346d1b View commit details
    Browse the repository at this point in the history
Loading