summaryrefslogtreecommitdiff
path: root/git/test
Commit message (Collapse)AuthorAgeFilesLines
* Copy environment for subprocess executionDarragh Bailey2014-11-171-0/+6
| | | | | | | | | | Git utilizes multiple environment variables to control various behaviours. Make sure to set LC_MESSAGES on a copy of the environment instead of discarding any variables that may be set by the user or default shell environment such as EDITOR. Add test to assert that when overriding GIT_EDITOR via os.environ that the modified value will be picked up by and git commands called.
* Allow Index.add() on bare repositoriesSebastian Thiel2014-11-171-0/+34
|
* pep8 linting (trailing whitespace)Antoine Musso2014-11-1619-155/+155
| | | | W291 trailing whitespace
* pep8 linting (double spaces before comment)Antoine Musso2014-11-163-8/+8
| | | | E261 at least two spaces before inline comment
* pep8 linting (whitespace before/after)Antoine Musso2014-11-1622-160/+160
| | | | | | | | | | | | | E201 whitespace after '(' E202 whitespace before ')' E203 whitespace before ':' E225 missing whitespace around operator E226 missing whitespace around arithmetic operator E227 missing whitespace around bitwise or shift operator E228 missing whitespace around modulo operator E231 missing whitespace after ',' E241 multiple spaces after ',' E251 unexpected spaces around keyword / parameter equals
* pep8 linting (blank lines expectations)Antoine Musso2014-11-1624-42/+52
| | | | | | E301 expected 1 blank line, found 0 E302 expected 2 blank lines, found 1 E303 too many blank lines (n)
* pep8 linting (whitespaces)Antoine Musso2014-11-1625-786/+771
| | | | | | | | | | | W191 indentation contains tabs E221 multiple spaces before operator E222 multiple spaces after operator E225 missing whitespace around operator E271 multiple spaces after keyword W292 no newline at end of file W293 blank line contains whitespace W391 blank line at end of file
* Merge branch 'sf-master' of https://github.com/johnsca/GitPython into ↵Sebastian Thiel2014-11-153-4/+9
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | johnsca-sf-master Conflicts: git/cmd.py git/objects/commit.py git/objects/fun.py git/objects/util.py git/remote.py git/repo/base.py git/test/lib/helper.py git/test/test_commit.py git/test/test_fun.py git/util.py
| * [#7021] Added serialization and test from upstream and fixed test issuesCory Johns2014-03-033-1/+73
| |
| * Fix whacky indentationTim Van Steenburgh2013-04-171-3/+3
| | | | | | | | Signed-off-by: Tim Van Steenburgh <tvansteenburgh@gmail.com>
| * Return bytes if object name can't be utf8-decodedTim Van Steenburgh2013-04-171-0/+5
| | | | | | | | Signed-off-by: Tim Van Steenburgh <tvansteenburgh@gmail.com>
* | Merge pull request #189 from mrasskazov/0.3Sebastian Thiel2014-11-142-1/+71
|\ \ | | | | | | GPG signature support on commit object.
| * | GPG signature support on commit object.Max Rasskazov2014-09-082-1/+71
| | | | | | | | | | | | | | | | | | | | | | | | Originals: Pull request "GPG signature support on commit object" #124 by Tatsuki Sugiura. https://github.com/gitpython-developers/GitPython/pull/124 commit 8065d2abdbb18e09560fc061807301b4c834d5a7 commit 62ecd6c66a84144632b045696326af503ee8cd4e
* | | Updated README to better represent current stateSebastian Thiel2014-11-141-7/+6
| | |
* | | Merge pull request #200 from dbaxa/0.3-with-unicode-fixesSebastian Thiel2014-11-121-11/+20
|\ \ \ | |/ / |/| | 0.3 with unicode fixes
| * | Basic test for __unpack_args to verify unicode handling worksCraig Northway2014-11-121-11/+20
| | | | | | | | | | | | | | | | | | | | | | | | (cherry picked from commit 8fa25b1cd5a82679c7b12d546b96c30cafed0559) Signed-off-by: David Black <dblack@atlassian.com> Conflicts: git/test/test_git.py
* | | Support multiple refspecs in fetch.Robert Collins2014-07-031-0/+4
|/ / | | | | | | | | | | Git supports fetching many refs at once - support this in GitPython too for more efficient operations when selectively mirroring repositories.
* | add git command optionsEric Brunson2014-04-251-0/+2
| | | | | | | | | | | | | | | | | | Add __call__ method to Git object to allow passing git command options to the executable requires flag to transform_kwargs add unit tests Change-Id: If1bc01008e66d3fd3811c15b56e58f38c95b9887
* | add git command optionsEric Brunson2014-04-251-0/+12
| | | | | | | | | | | | | | | | | | Add __call__ method to Git object to allow passing git command options to the executable requires flag to transform_kwargs add unit test Change-Id: If1bc01008e66d3fd3811c15b56e58f38c95b9887
* | Minor modifications to get tests back to work.Sebastian Thiel2014-02-103-13/+20
| | | | | | | | Two tests are failing in the latest git version, would have to dig into it
* | Adjusted required versions of pre-requisites, now the majority of the tests workSebastian Thiel2014-02-103-4/+4
| |
* | tabs to 4 spaces - this won't make integrating the patches easier, but it's ↵Sebastian Thiel2014-02-0921-4575/+4575
| | | | | | | | probably a good idea to go a little more pep8 (and fix sins of my youth ;) )
* | fixed testcaseSebastian Thiel2011-07-181-1/+1
| | | | | | | | a test cases was asserting the wrong variable
* | new blame test addedSebastian Thiel2011-07-181-0/+9
|/ | | | | A test which makes the actual git-blame test to be sure it really works in the face of a changing git command implementation
* Implemented GIT_PYTHON_GIT_EXECUTABLE including test and docsSebastian Thiel2011-07-051-0/+10
|
* Fetch info can now deal much better with non-default ref specs, fixes #24, #25Sebastian Thiel2011-07-041-4/+48
|
* refs: added constructor flag to allow refs to be instatiated from any path, ↵Sebastian Thiel2011-07-041-0/+5
| | | | including simple test
* Fixes #23Sebastian Thiel2011-07-041-424/+432
|
* test_submodule doesn't assume latest version of gitdb anymoreSebastian Thiel2011-06-131-1/+2
|
* fixed test_repo to deal with new and old versions of the gitdb. windows is ↵Sebastian Thiel2011-06-131-1/+1
| | | | now ready to ship, regarding the test cases at least
* fixed submodule test to work on windowsSebastian Thiel2011-06-131-2/+3
|
* test_submodule: Will now load everything into memory if smmap is present, to ↵Sebastian Thiel2011-06-131-0/+14
| | | | help the submodule test to work even on windows
* Fixed submodule tests to go with either the old or the new version of gitdbSebastian Thiel2011-06-101-5/+6
|
* Fixed critical issue that would cause a string to be passed to methods that ↵Sebastian Thiel2011-06-081-3/+1
| | | | expect a stream
* relaxed implementation when comparing symbolic references against other ↵Sebastian Thiel2011-06-081-0/+9
| | | | items which don't have a path. Fixed test_refs to work in all cases - it was previously dependent on the order of items returned by the file system
* util: Added test for iterable list, and implemented __contains__ and __del__ ↵Sebastian Thiel2011-06-081-1/+58
| | | | functionality
* Improved debug assertion to provide proper path on which to run a git daemonSebastian Thiel2011-06-071-2/+4
|
* Added version_info property to git command. Its cached and efficient, ↵Sebastian Thiel2011-06-071-66/+82
| | | | including test
* Fixed submodule test. Just a tiny thingSebastian Thiel2011-06-071-0/+3
|
* Greatly improved robustness of config parser - it can now take pretty much ↵Sebastian Thiel2011-06-072-7/+15
| | | | everything. Includes an updated config file which includes all the new additions
* added test & fix for mangled tagger namesOrestis Markou2011-05-011-0/+10
|
* Fixed incorrect handling of rev_parse if it was fed with branches that ↵Sebastian Thiel2011-02-231-1/+6
| | | | looked like hexshas. Thanks to Ning (frostyplanet) who pointed this issue out
* Submodule tests are functional once again.Sebastian Thiel2010-12-011-1/+1
| | | | remote: Fixed bug that was caused by the unchecked deletion of an uncached attribute which did not necessarily exist
* Fixed import of gitdb, keeping changed gitdb commit so that the submodule ↵Sebastian Thiel2010-12-011-2/+2
| | | | | | tests may work. Switched gitdb submodule to new github url
* Fixed all testcasesSebastian Thiel2010-11-252-4/+5
|
* Moved everything into the git subdirectory - some tests still need to be ↵Sebastian Thiel2010-11-2567-0/+8668
adjusted