-
-
Notifications
You must be signed in to change notification settings - Fork 977
Comparing changes
Open a pull request
base repository: gitpython-developers/GitPython
base: 3.1.49
head repository: gitpython-developers/GitPython
compare: main
- 13 commits
- 9 files changed
- 6 contributors
Commits on Apr 22, 2026
-
fix: support Repo() autodiscovery from linked worktree GIT_DIR
Handle linked worktree git directories when GIT_DIR points to .git/worktrees/<name>. Previously Repo() could fail with InvalidGitRepositoryError in this scenario, while Repo(os.getcwd()) worked correctly. Add regression test to cover autodiscovery in linked worktrees.
Configuration menu - View commit details
-
Copy full SHA for 4c6ec60 - Browse repository at this point
Copy the full SHA 4c6ec60View commit details
Commits on May 1, 2026
-
Bump https://github.com/astral-sh/ruff-pre-commit
Bumps the pre-commit group with 1 update: [https://github.com/astral-sh/ruff-pre-commit](https://github.com/astral-sh/ruff-pre-commit). Updates `https://github.com/astral-sh/ruff-pre-commit` from v0.15.8 to 0.15.12 - [Release notes](https://github.com/astral-sh/ruff-pre-commit/releases) - [Commits](astral-sh/ruff-pre-commit@v0.15.8...v0.15.12) --- updated-dependencies: - dependency-name: https://github.com/astral-sh/ruff-pre-commit dependency-version: 0.15.12 dependency-type: direct:production dependency-group: pre-commit ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for b17f113 - Browse repository at this point
Copy the full SHA b17f113View commit details
Commits on May 3, 2026
-
Xfail Windows symlink-capable index mutation test
The Windows CI jobs for PR 2140 failed in test/test_index.py::TestIndex::test_index_mutation. The failing checkout path creates my_fake_symlink and Git for Windows 2.54 reports a symlink warning before GitPython raises GitCommandError. This is the same unsupported Windows symlink behavior that the test already marks as an expected failure when core.symlinks is true. Detect Windows hosts that can create symlinks directly and include GitCommandError in the expected failure types, so symlink-capable Windows runners do not fail this unrelated Dependabot PR. Co-authored-by: Sebastian Thiel <sebastian.thiel@icloud.com>
Configuration menu - View commit details
-
Copy full SHA for 714e2e1 - Browse repository at this point
Copy the full SHA 714e2e1View commit details -
Merge pull request #2140 from gitpython-developers/dependabot/pre_com…
…mit/pre-commit-c64bca4cd5 Bump https://github.com/astral-sh/ruff-pre-commit from v0.15.8 to 0.15.12 in the pre-commit group
Configuration menu - View commit details
-
Copy full SHA for 9e94459 - Browse repository at this point
Copy the full SHA 9e94459View commit details -
Bump git/ext/gitdb from
335c0f6to53c94d6Bumps [git/ext/gitdb](https://github.com/gitpython-developers/gitdb) from `335c0f6` to `53c94d6`. - [Release notes](https://github.com/gitpython-developers/gitdb/releases) - [Commits](gitpython-developers/gitdb@335c0f6...53c94d6) --- updated-dependencies: - dependency-name: git/ext/gitdb dependency-version: 53c94d682b541595918cea6fc2e96bb900eb0e8c dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for 4e8cd45 - Browse repository at this point
Copy the full SHA 4e8cd45View commit details -
Merge pull request #2141 from gitpython-developers/dependabot/submodu…
…les/git/ext/gitdb-53c94d6 Bump git/ext/gitdb from `335c0f6` to `53c94d6`
Configuration menu - View commit details
-
Copy full SHA for b7f5fde - Browse repository at this point
Copy the full SHA b7f5fdeView commit details
Commits on May 6, 2026
-
Merge pull request #2128 from meliezer/fix-worktree-git-dir
Fix Repo() autodiscovery in linked worktrees when GIT_DIR is set
Configuration menu - View commit details
-
Copy full SHA for 1085a7c - Browse repository at this point
Copy the full SHA 1085a7cView commit details -
Validate config key section names before writing
GitConfigParser already rejected CR, LF, and NUL in config values before writing, but section and option names could still reach configparser. Because GitPython writes section headers itself, a newline-bearing section name could split the output into additional headers. Reject CR, LF, and NUL in section and option names on write paths that create or set config keys: add_section(), set(), set_value(), add_value(), and rename_section() destinations. This matches Git config key validation behavior; Git source commit 94f057755b7941b321fd11fec1b2e3ca5313a4e0 reports invalid keys containing newlines from config.c, and local git 2.50.1 rejects newline-bearing config keys. Add a regression test covering unsafe section and option names while preserving safe writes. Co-authored-by: Sebastian Thiel <sebastian.thiel@icloud.com>
Configuration menu - View commit details
-
Copy full SHA for 5453842 - Browse repository at this point
Copy the full SHA 5453842View commit details -
Merge pull request #2142 from gitpython-developers/fix-validate-confi…
…g-key-newlines Validate config key names before writing
Configuration menu - View commit details
-
Copy full SHA for d7b029f - Browse repository at this point
Copy the full SHA d7b029fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a294a6 - Browse repository at this point
Copy the full SHA 5a294a6View commit details -
Add AI-disclusure and quality requirements to the contribution guidel…
…ines. Co-authored-by: GPT 5.5 <codex@openai.com>
Configuration menu - View commit details
-
Copy full SHA for 4941c31 - Browse repository at this point
Copy the full SHA 4941c31View commit details -
Separate quality paragraphs and adjust decline wording
Split the quality-expectations section into two paragraphs (the warning about low-quality contributions being declined was visually merged with the preceding paragraph). Replace "and the pull request closed without warning" with a note that maintainers may not always be able to provide detailed feedback, which conveys the same practical reality. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Configuration menu - View commit details
-
Copy full SHA for 92ff6df - Browse repository at this point
Copy the full SHA 92ff6dfView commit details -
Merge pull request #2143 from gitpython-developers/contrbuting
Add AI-disclosure and quality requirements to the contribution guidelines
Configuration menu - View commit details
-
Copy full SHA for c7648c0 - Browse repository at this point
Copy the full SHA c7648c0View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 3.1.49...main