summaryrefslogtreecommitdiff
path: root/git
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | Fix fd leak on git cmd.Tatsuki Sugiura2014-03-311-0/+5
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently if command is called with as_proces=True, pipes for the command will not be closed. This change makes sure to close command file descriptors. Conflicts: git/cmd.py
* | | | | Merge pull request #181 from hashar/git-exec-const-outputSebastian Thiel2014-11-141-0/+4
|\ \ \ \ \ | | | | | | | | | | | | Ensure consistent output from git command
| * | | | | Ensure consistent output from git commandAntoine Musso2014-07-251-0/+4
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The git command output can vary by language which would cause assertions errors when parsing the output. On POSIX system the language used by git can be adjusted by LC_MESSAGES. The special language 'C' is guaranteed to be always available and is whatever default the software has been written in (usually english, the case for git). Thus passing LC_MESSAGES to Popen will ensure we receive from git a consistent output regardless of the user preference. Addresses #153
* | | | | Merge pull request #194 from maxyz/fix-issue-41_0.3Sebastian Thiel2014-11-141-2/+2
|\ \ \ \ \ | | | | | | | | | | | | Fix issue #41: repo.is_dirty() on empty repository with stashed files
| * | | | | Fix issue #41: repo.is_dirty() on empty repository with stashed filesJan Vcelak2014-09-291-2/+2
| |/ / / /
* | | | | Merge pull request #195 from maxyz/github-pull-88Sebastian Thiel2014-11-121-1/+1
|\ \ \ \ \ | | | | | | | | | | | | Fix the `git version` parser.
| * | | | | Fix the `git version` parser.Marcus R. Brown2014-10-011-1/+1
| |/ / / /
* | | | | Merge pull request #198 from folti/0.3Sebastian Thiel2014-11-122-4/+11
|\ \ \ \ \ | | | | | | | | | | | | GitRunCommand exception can store stdout output too.
| * | | | | GitRunCommand exception can store stdout output too.Tamas Pal2014-11-052-4/+11
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some git commands, like git merge outputs their problems onto stdout, instead of stderr, which will be thrown away by the current setup. This change allows the GitPython commands to store the stdout's value too, in case of error.
* | | | | Merge pull request #200 from dbaxa/0.3-with-unicode-fixesSebastian Thiel2014-11-123-13/+26
|\ \ \ \ \ | |/ / / / |/| | | | 0.3 with unicode fixes
| * | | | Fix the Repo commit and tree methods to work with unicode revs.David Black2014-11-121-2/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: David Black <dblack@atlassian.com>
| * | | | Fixing unicode typesCraig Northway2014-11-121-0/+4
| | | | | | | | | | | | | | | | | | | | (cherry picked from commit ca2b901e7229fc5c793762fd4e4c1c38c5a78e80)
| * | | | 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
* | | | | Untested fix for #172Sebastian Thiel2014-07-171-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | See https://github.com/gitpython-developers/GitPython/issues/172 for more information
* | | | | Support multiple refspecs in fetch.Robert Collins2014-07-032-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Git supports fetching many refs at once - support this in GitPython too for more efficient operations when selectively mirroring repositories.
* | | | | Add patch from to 0.3 branch.William Gibb2014-06-261-6/+15
| | | | | | | | | | | | | | | | | | | | | | | | | https://github.com/gitpython-developers/GitPython/commit/f362d10fa24395c21b1629923ccd705ba73ae996 Related to #43
* | | | | Fixed two minor typos.Marios Zindilis2014-06-131-2/+2
| | | | |
* | | | | HACK: Removed assertion just to be a bit less annoyed by constant failSebastian Thiel2014-06-041-1/+4
| | | | |
* | | | | Fix for #142. Simply ignores lines that begin with ' ='Derek D. Fedel2014-05-161-3/+4
|/ / / /
* | | | Fix typo in untracked_filess13412014-05-091-1/+1
| | | |
* | | | Fix for untracked_files no longer detected #138Maximiliano Curia2014-05-061-18/+16
| | | |
* | | | Added support for travis ciSebastian Thiel2014-05-041-0/+0
| | | |
* | | | Make sure that branches looking like a numeric scalar will not become number ↵Sebastian Thiel2014-05-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | type in python. The latter will break code that assumes it will get a string.
* | | | Merge pull request #156 from remram44/fix-git-in-submoduleSebastian Thiel2014-04-272-3/+17
|\ \ \ \ | | | | | | | | | | Fixes creating a Repo for a submodule (#155)
| * | | | Fixes creating a Repo for a submoduleRemi Rampin2014-04-242-3/+17
| | | | | | | | | | | | | | | | | | | | Fixes #155.
* | | | | 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-252-3/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | add git command optionsEric Brunson2014-04-231-3/+27
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | Add __call__ method to Git object to allow passing git command options to the executable Change-Id: If1bc01008e66d3fd3811c15b56e58f38c95b9887
* | | | Fixed undefined variable 'path' in ReferenceMichael Goerz2014-04-061-1/+1
|/ / /
* | | 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-0953-13685/+13685
|/ / | | | | | | probably a good idea to go a little more pep8 (and fix sins of my youth ;) )
* | Fixed typo which for some reason came in unnoticedSebastian Thiel2012-07-241-1/+1
| |
* | updated gitdb to latest versionSebastian Thiel2012-07-231-0/+0
| |
* | Submodule update to latest versionSebastian Thiel2012-07-231-0/+0
| |
* | Ignore progress lines from the git http backend that start w/ POST ...Greg Soltis2012-01-101-1/+1
| |
* | 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
* | Fixed consecutive lines with same blame info not appearing in blame.Mark Nevill2011-07-181-2/+5
| | | | | | | | | | | | | | | | | | This fixes a bug when parsing blame -p output: Full commit info headers only appear for the first line from a particular commit, but other lines were ignored as the blame info dict was reset after each line. This patch handles both multiple consecutive lines from a commit and interleaved lines from multiple commits.
* | cmd: on windows, we will now fallback to using git.cmd, as the default ↵Sebastian Thiel2011-07-061-6/+39
|/ | | | | | installation puts it into the path, instead of git.exe. Of course we warn about the performance penalty that goes with it. Fortunately, using a wrapped git.exe works when creating pipes to the process, admittedly I was a bit surprised by this. fixes #26
* Implemented GIT_PYTHON_GIT_EXECUTABLE including test and docsSebastian Thiel2011-07-053-6/+21
|
* Basic remote functionality moved to Reference type, as it can in fact be ↵Sebastian Thiel2011-07-043-19/+43
| | | | useful for tags as well, which might end up somewhere in the refs/remotes space. Its not likely that it will ever be used on a pure Reference instance though, but it is the smallest common base
* Fetch info can now deal much better with non-default ref specs, fixes #24, #25Sebastian Thiel2011-07-043-5/+73
|
* refs: added constructor flag to allow refs to be instatiated from any path, ↵Sebastian Thiel2011-07-042-4/+11
| | | | including simple test
* Fixes #23Sebastian Thiel2011-07-042-425/+435
|
* Bumped version to 0.3.2. Using the latest version of gitdbSebastian Thiel2011-06-141-0/+0
|
* test_submodule doesn't assume latest version of gitdb anymoreSebastian Thiel2011-06-131-1/+2
|
* Fixed implementation of _version_info which didn't work for python 2.4 ↵Sebastian Thiel2011-06-131-1/+1
| | | | thanks to the rpartition method. omg
* 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
|