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

- a call to `GitConfigParser.items("somesection")` fails with `NoSectionError` even when "somesection" exists. - however, with a prior call to `GitConfigParser.sections()` OR `.get_value()` -- as far as I can tell, anything...

acknowledged
help wanted

When using the class UpdateProgress to monitor the progress of submodules updating, you don't get a lot of progress from the CLONE step (it only has a max_count of 1)...

enhancement
acknowledged
help wanted

https://gitpython.readthedocs.io/en/stable/tutorial.html tells that there is `repo.untracked_files` to get list of untracked files. therefor, there should be `repo.tracked_files` to get list of tracked files. ps. how do we even do it...

enhancement
help wanted

The clone command in git supports a --config parameter that can be repeated several times on the command line to set multiple config parameters. There is no why to call...

acknowledged
help wanted

Hi, I'm hitting the below line in git/remote.py: Seemingly because my git(-lab) server has an SSH banner like this: ``` $ ssh login _ _ _ _ _ ___ _...

acknowledged
help wanted

Command `iter_change_type(change_type)` returns that file was modified when actually it was renamed. I think that the problem is in this condition `elif change_type == "M" and diff.a_blob and diff.b_blob and...

acknowledged
help wanted

Git submodules allow relative URLs which are based on the parent repo URL. Right now this is not supported, ie. adding a submodule configuration in `.gitmodules` with a relative URL...

acknowledged

As per https://stackoverflow.com/questions/8507368/programmatically-not-manually-finding-the-path-where-git-is-installed-on-a-win It looks like one could use the winreg in order to find git executable. Is this something you tried or are willing to take patch?

enhancement
help wanted

For example https://github.com/gitpython-developers/GitPython/blob/0857d33852b6b2f4d7bc470b4c97502c7f978180/git/index/base.py#L941 May be the cause of 703

tag.Windows

Sometimes references are stored in the file `.git/packed-refs`. The code in [`fun.name_do_object()`](https://github.com/gitpython-developers/GitPython/blob/3e1fe7f6a83633207c9e743708c02c6e66173e7d/git/repo/fun.py#L106) does not handle that case, causing BadName exception. Ref: https://git-scm.com/docs/git-pack-refs

acknowledged