aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-07-19test if it accepts environment variables in commandsAnson Mansfield
2017-07-01Update changelog and improve docs on skipped testSebastian Thiel
[skip ci]
2017-07-01Try to ignore test on windows as it fails for the wrong reasonsSebastian Thiel
Here is the error log we see: ====================================================================== ERROR: test_git_submodules_and_add_sm_with_new_commit (git.test.test_submodule.TestSubmodule) ---------------------------------------------------------------------- Traceback (most recent call last): File "C:\projects\gitpython\git\test\lib\helper.py", line 92, in wrapper return func(self, path) File "C:\projects\gitpython\git\test\test_submodule.py", line 709, in test_git_submodules_and_add_sm_with_new_commit smm.git.commit(m="new file added") File "C:\projects\gitpython\git\cmd.py", line 425, in <lambda> return lambda *args, **kwargs: self._call_process(name, *args, **kwargs) File "C:\projects\gitpython\git\cmd.py", line 877, in _call_process return self.execute(call, **exec_kwargs) File "C:\projects\gitpython\git\cmd.py", line 688, in execute raise GitCommandError(command, status, stderr_value, stdout_value) GitCommandError: Cmd('git') failed due to: exit code(128) cmdline: git commit -m new file added stderr: ' *** Please tell me who you are.
2017-07-01Maybe work around AppVeyor setting a bad email?Peter Jones
One of the submodule tests says: Traceback (most recent call last): File "C:\projects\gitpython\git\test\lib\helper.py", line 92, in wrapper return func(self, path) File "C:\projects\gitpython\git\test\test_submodule.py", line 706, in test_git_submodules_and_add_sm_with_new_commit smm.git.commit(m="new file added") File "C:\projects\gitpython\git\cmd.py", line 425, in <lambda> return lambda *args, **kwargs: self._call_process(name, *args, **kwargs) File "C:\projects\gitpython\git\cmd.py", line 877, in _call_process return self.execute(call, **exec_kwargs) File "C:\projects\gitpython\git\cmd.py", line 688, in execute raise GitCommandError(command, status, stderr_value, stdout_value) git.exc.GitCommandError: Cmd('git') failed due to: exit code(128) cmdline: git commit -m new file added stderr: ' *** Please tell me who you are. Run git config --global user.email "you@example.com" git config --global user.name "Your Name" to set your account's default identity. Omit --global to set the identity only in this repository. fatal: unable to auto-detect email address (got 'appveyor@APPVYR-WIN.(none)')' Clearly this is failing because (none) isn't a valid TLD, but I figure I'll try to set a fake value and see if that works around it.
2017-07-01Repo: handle worktrees betterPeter Jones
This makes Repo("foo") work when foo/.git is a file of the form created by "git worktree add", i.e. it's a text file that says: gitdir: /home/me/project/.git/worktrees/bar and where /home/me/project/.git/ is the nominal gitdir, but /home/me/project/.git/worktrees/bar has this worktree's HEAD etc and a "gitdir" file that contains the path of foo/.git . Signed-off-by: Peter Jones <pjones@redhat.com>
2017-06-17docs(README): make it easier to verify gitpython tarballsSebastian Thiel
Also provide my public key with this repository, hoping that people can trust it as this commit is signed with it too :).
2017-06-10chore(version-up): v2.1.52.1.5Sebastian Thiel
Fixes #632
2017-06-10chore(version-up): v2.1.42.1.4Sebastian Thiel
This re-release is just to get GPG signatures on releases.
2017-06-10Allow failure of python 2.6Sebastian Thiel
It really is not supported anymore by anyone, so it seems.
2017-05-29Add base class for package exceptions.Konstantin Popov
2017-05-29remote: compatibility with git version > 2.10wusisu
2017-04-09Python 3.6 invalid escape sequence deprecation fixesVille Skyttä
https://docs.python.org/3/whatsnew/3.6.html#deprecated-python-behavior
2017-04-09Handle non-deterministic __del__ in RepoSebastian Thiel
Fixes #610
2017-04-09Merge branch 'SylvainDe-master'Sebastian Thiel
2017-04-09Allow failures for dev versions of pythonSebastian Thiel
2017-04-04so minor that wasn't even worth my time typing this commentYaroslav Halchenko
2017-03-09Spelling fixesVille Skyttä
2017-03-08Add most recent Python versions in Travis CISylvain
Add more recent Python versions including development branches and nightly build.
2017-03-08chore(version): 2.1.32.1.3Sebastian Thiel
Just because I messed up the previous one and ... pypi allows to delete files for releases, but doesn't allow to replace them with a similarly named one. WTF? Since when is a name important anyway?
2017-03-08chore(version): v2.1.22.1.2Sebastian Thiel
2017-03-08BF: pass original exception into replace_surrogate_encodeYaroslav Halchenko
Fixes my incorrect fix in #598
2017-03-08Fix typoThomas Jackson
2017-03-07Add a fixture to test incremental blame output for git 2.11.1+George Hickman
2017-03-07Document the use of next to throw an exception when hitting EOFGeorge Hickman
2017-03-07Ignore all lines of subsequent hunks until last one is foundGeorge Hickman
Git version 2.11.1+ introduced extra lines into the subsequent hunk sections for incremental blame output. The documentation notes that parsers of this output should ignore all lines between the start and end for robust parsing.
2017-03-03Add Code Climate configurationScott Larkin
This commit configures code quality analysis by Code Climate. Results are provided by open source Code Climate engines. Based on the languages present in this repository, I've enabled the following engines: - duplication - pep8 - radon
2017-03-01BF: there is no exc variable, raising NotASurrogateError if that is the ↵Yaroslav Halchenko
right thing todo
2017-02-25chore(flake): satisfy linterSebastian Thiel
2017-02-25Merge branch 'git_work_tree' of https://github.com/tbhartman/GitPython into ↵Sebastian Thiel
tbhartman-git_work_tree
2017-02-25fix(refs): don't assume linux path separatorSebastian Thiel
Instead, work with os.sep. Fixes #586
2017-02-25Merge pull request #582 from gitpython-developers/no_devnull_openSebastian Thiel
fix(cmd): checking process.DEVNUL were needlessly opening `os.devnull`
2017-02-25Merge pull request #555 from ankostis/cntxtmmanSebastian Thiel
Retrofit `repo` class as context-man to cleanup global mman on repo-delete
2017-02-25fix(cmd): don't try to use TASKKILL on linuxSebastian Thiel
Fixes #576
2017-02-25fix(remote): assemble exception message completelySebastian Thiel
... before trying to substitute values in. Fixes #575
2017-02-24check for GIT_WORK_TREETimothy B. Hartman
2017-02-10fix(cmd): checking process.DEVNUL were needlessly opening `os.devnull`no_devnull_openKostis Anagnostopoulos
Fixes resource-leak warning on Windows Puython-3.5.3+: D:\python-3.5.2.amd64\lib\site-packages\git\cmd.py:583: ResourceWarning: unclosed file <_io.BufferedWriter name='nul'> else getattr(subprocess, 'DEVNULL', open(os.devnull, 'wb')))
2017-02-02Fix git.Commit docs typoReuben Sutton
2017-01-15Merge pull request #574 from vokimon/patch-2Sebastian Thiel
Doc fix: Using camellcase package name in "pip install" command
2017-01-15pip install using camellcase package nameDavid García Garzón
2017-01-02Merge pull request #566 from boidolr/masterSebastian Thiel
DOC: minor typo
2016-12-31DOC: minor typoRaphael Boidol
2016-12-22fix(remote): testSebastian Thiel
Should have paid more attention to the test-failure before pushing the fix.
2016-12-22chore(lint): fixSebastian Thiel
2016-12-22fix(remote): set_url() uses correct argument orderSebastian Thiel
Fixes #562
2016-12-22fix(tag): improve tag resolution handlingSebastian Thiel
The handling is similar, but the error message makes clear what is happening, and what can be done to handle such a case. Related to #561
2016-12-08chore(version): 2.1.12.1.1Sebastian Thiel
2016-12-08chore(lint): flake8 pacificationSebastian Thiel
2016-12-08fix(refs): handle quoted branch namesSebastian Thiel
Fixes #550
2016-12-08style(cmd): pythonize cmd-args filtering for PY26, improve docstringKostis Anagnostopoulos
Apply codereview comments of #541.
2016-12-08feat(util): export rmtree() to facilitate del of tmp-repos on WindowsKostis Anagnostopoulos
Usecase described in #553