GitPython icon indicating copy to clipboard operation
GitPython copied to clipboard

GitPython is a python library used to interact with Git repositories.

Results 171 GitPython issues
Sort by recently updated
recently updated
newest added

Hi. I've encountered `AssertionError` while calling `git.base.IndexFile.iter_blobs` after `git update-index --skip-worktree ` like below. ``` %pip install GitPython==3.1.11 Requirement already satisfied: GitPython==3.1.11 in /usr/local/python3.7/lib/python3.7/site-packages (3.1.11) Requirement already satisfied: gitdb=4.0.1 in...

enhancement
acknowledged
help wanted

When directly fetching a ref _without_ specifying a destination ref. E.g. `repo.remotes.origin.fetch(["master"])` instead of `repo.remotes.origin.fetch(["refs/heads/master:refs/remotes/origin/master"])` git will produce a different amount of ref-update lines on stderr than in `.git/FETCH_HEAD`. For...

acknowledged

GitPython 3.0.2 works properly. GitPython 3.0.3 is unable to read the bare repo. GitPython 3.0.4 and 3.0.5 are not able to get diffs GitPython 3.0.6 is unable to read the...

help wanted

When executing the following: ``` string=git.diff('HEAD~1') ``` it raises an exception when there are no previous commits. It could be a nice feature to have a kind of query that...

enhancement
wont fix

Check out toy example repo w/ 2 submodules (named `generate-random-ints` and `sort`): ```bash git clone --recurse-submodules https://gitlab.com/gsmo/examples/submodule-demo.git cd submodule-demo git checkout e6f6d8f git submodule update python ``` In Python REPL:...

acknowledged
help wanted

Check out toy example repo w/ 2 submodules (named `generate-random-ints` and `sort`): ```bash git clone --recurse-submodules https://gitlab.com/gsmo/examples/submodule-demo.git cd submodule-demo git checkout e6f6d8f git submodule update python ``` In Python REPL:...

acknowledged
help wanted

We have encountered an issue with `submodule.update` that reproduces in a rather special circumstance: **Setup** Have a git repo, say `test`, containing one submodule, say `test_submodule`. `test_submodule` must have no...

acknowledged
help wanted

If the `.gitconfig` file includes an `includeIf` directive, the config parser doesn't respect it. `~/.gitconfig` file contents: ``` [includeIf "gitdir:~/work/git/"] path = ~/.gitconfig.work [user] email = [email protected] name = Me...

enhancement
acknowledged
help wanted

Hi, I recently ran into a race condition when using two different instances of `git.Repo` objects in two different threads. Inside `repo.index.add()`, some functions are decorated with the `git_working_dir` decorator....

acknowledged

My company authenticates its Azure DevOps git repositories on Windows Active Directory. So I have to add domain name to correctly authenticate and clone repositories. Like this: ```python test =...

acknowledged