aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-06-10docs(tutorial): fix typo, minor improvementsSebastian Thiel
2015-06-05Add example ssh scriptTomas Dabasinskas
2015-05-31fix(git-cmd): set LANGUAGE as wellSebastian Thiel
This is a pre-emptive measure based on http://goo.gl/l74GC8 . Related to #290
2015-05-31fix(git-cmd): use LC_ALL instead of LC_MESSAGESSebastian Thiel
Previously, only program messages where forced to the C-locale, now we force the entire program. That way, we should assure a remote will not provide us with branch information in any other language but english. Related to #290
2015-05-26docs(intro):swap mailinglist with stackoverflowSebastian Thiel
2015-05-14Merge pull request #288 from johnwalker/bytesSebastian Thiel
Fix type error (startswith expects bytes)
2015-05-13Fix type error (startswith expects bytes)John L. Walker
2015-04-22fix(versionup): release 1.0.11.0.1Sebastian Thiel
2015-04-22fix(travis): can't overrwrite travis .gitconfigSebastian Thiel
As it seems to contain custom inforamtion that we want to keep. Now we are appending to it ...
2015-04-22fix(config): selective cfg write;fix cfg parserSebastian Thiel
* config parser now handles quoted values correctly. This doesn't hamper multi-line support. * added regression test to travis to assure we will be warned if we rewrite and break the user's .gitconfig file * only rewrite configuration files if we actually called a mutating method on the writer. Previously it would always rewrite it. Fixes #285
2015-04-22Merge pull request #284 from moben/test-fixesSebastian Thiel
git-daemon test fixes
2015-04-21test: make git-daemon port configurable via envBenedikt Morbach
add a GIT_PYTHON_TEST_GIT_DAEMON_PORT to set a port other than 9418, for example for when you already have a daemon running on that port.
2015-04-21test: Make git-daemon only listen on localhostBenedikt Morbach
No reason to expose a daemon to all interfaces when it is only used for tests, which connect to localhost anyway. I'd love to use localhost here instead, but the git-daemon man page points out: If IPv6 is not supported, then --listen=hostname is also not supported and --listen must be given an IPv4 address. I don't know of a way to check if git has ipv6 support, but 127.0.0.1 should be around for the foreseeable future
2015-04-17Merge pull request #283 from bcicen/bcicen-typoSebastian Thiel
Changelog typo
2015-04-17Changelog typobradley
very small typo in changelog. Reop -> Repo
2015-04-16Merge branch 'matt-jordan-remote_source'Sebastian Thiel
2015-04-16fix(test_docs): we are at major version 1 nowSebastian Thiel
It expected to see major version 0 though.
2015-04-16fix(indent): flake-8 happynessSebastian Thiel
2015-04-15fix(util): Correct number of op codesMatt Jordan
The previous patch failed to update the expected number of op_codes, which would result in an exception when creating an instance of RemoteProgress. This patch corrects the value to the new expected number of op_codes (8)
2015-04-15fix(util): Handle 'Finding sources' messages in RemoteProgressMatt Jordan
When running a long running operation (such as a clone on a large repo), Git may return a message indicating that it is 'Finding sources'. Since there is no bit field value for this message, this causes a large amount of error messages to be emitted to stderr. This patch fixes this by adding another bit field value for this message, FINDING_SOURCES. Derived classes can look for this op_code and handle it appropriately.
2015-04-10docs(README): added code-climate badgeSebastian Thiel
We are not too good, but nothing to shy away from.
2015-04-08docs(README): remove future goalsSebastian Thiel
Because there are none.
2015-04-08docs(changes): add 1.0.0 notes1.0.0Sebastian Thiel
Just to declare the motivation behind this version jump, and state it is similar to v0.3.7.
2015-04-08fix(version-up): v1.0.0Sebastian Thiel
This is just me being honest to myself, after all, GitPython is already version 3.0, considering that for me the leading zero was just historical baggage.
2015-04-08fix(version-up): v0.3.70.3.7Sebastian Thiel
* milestone URL: http://goo.gl/HFaeZ4
2015-04-08docs(tutorial): fix GIT_SSH examplesSebastian Thiel
They didn't show up as code-block Related to #256
2015-04-08Merge branch 'teeberg-master'Sebastian Thiel
2015-04-08docs(tutorial): add pre-v2.3 GIT_SSH exampleSebastian Thiel
It goes along with the new one advertising the GIT_SSH_COMMAND environment variable. Related to #256
2015-04-08fix(test_cmd): handle GitCommandNotFound in testSebastian Thiel
Related to #248
2015-04-08fix(cmd): throw GitCommandNotFoundError ...Sebastian Thiel
... if it is not found. Previously, especially on windows, this wasn't explicit. Fixes #248, affects #126
2015-04-08fix(remote): allow to raise during push/fetchSebastian Thiel
Do not swallow non-zero exit status during push and fetch unless we managed to parse head information. This behaviour will effetively handle cases were no work was done due to invalid refspecs or insufficient permissions. Fixes #271
2015-04-08fix(docs): be clear about exit code handlingSebastian Thiel
When pushing/pulling, we ignore errors unless it's exit code 128. The reason for this is now made explicit to make clear that issues are handled by PushInfo flags accordingly. Related #271
2015-04-08fix(index): _store_path() now closes it's streamSebastian Thiel
This should prevent a resource warning given in py3 Fixes #263
2015-04-08fix(index): don't write extension data by defaultSebastian Thiel
It turned out that the index is not actually corrupted, which is good news. What happens is that `git` writes `TREE` extension data into the index, which causes it to write out the given tree *as is* next time a `git commit` is executed. When using `git add`, this extension data is maintained automatically. However, GitPython doesn't do that ... . Usually this is no problem at all, as you are supposed to use `IndexFile.commit(...)` along with `IndexFile.add(...)`. Thanks to a shortcoming in the GitPython API, the index was automatically written out whenever files have been added, without providing control over whether or not *extension data* will be written along with it. My fix consists of an additional flag in `IndexFile.add(...)`, which causes extension data not to be written by default, so commits can be safely done via `git commit` or `IndexFile.commit(...)`. However, this might introduce new subtle bugs in case someone is relying on extension data to be written. As this can be controlled through the said flag though, a fix is easily done in that case. Fixes #265
2015-04-07fix(externals): init external in dev mode onlySebastian Thiel
Previously it would always adjust your system path, which is bad behaviour.
2015-04-07test(index): test for #265Sebastian Thiel
However, it doesn't reproduce on the latest version of GitPython. Maybe it's on an older one.
2015-04-07fix(docs): sphinx docs build in latest versionSebastian Thiel
2015-04-07Merge pull request #276 from msiemens/patch-1Sebastian Thiel
Fix broken worktree path with submodules on Windows
2015-04-07Fix problem with submodules on WindowsMarkus Siemens
On Windows, `repo.create_submodule(...)` failed because git didn't recognize the worktree path set in `.git/modules/sub/config` (`fatal: bad config file line 6 in ./config`). This commit makes `_write_git_file_and_module_config` convert the worktree path to the linux format (forward slashes) which git recognizes.
2015-03-28Merge pull request #275 from kylepjohnson/masterSebastian Thiel
Fix typo
2015-03-27Fix typoKyle P. Johnson
2015-03-02Merge pull request #266 from jeblair/masterSebastian Thiel
Store path attribute on Diff object
2015-03-02Store path attribute on Diff objectJames E. Blair
If a file in a commit contains no changes (for example, if only the file mode is changed) there will be no blob attached. This is usually where the filename is stored, so without it, the calling context can not tell what file was changed. Instead, always store a_path and b_path on the Diff object so that information is available.
2015-03-02fix(iter-commit): ambiguous argument errorSebastian Thiel
In repositories like > git branch -a * test > ls test `repo.iter_commits` failed due to an ambigous argument (`'git rev-list test`). Now this cannot happen anymore. fixes #264
2015-02-23Improved documentation on IndexFile.add(...)Sebastian Thiel
Related to #224 [ci skip]
2015-02-21Fixed trailing white space!Sebastian Thiel
Think about how expensive this single invisible character was, with all the time and energy spent on it !
2015-02-21`stale_refs()` may now also handle other kinds of references, like tags.Sebastian Thiel
Fixes #260
2015-02-21Added 'insert_kwargs_after' flag for consumption by _call_process.Sebastian Thiel
While at it, all other invocations of .git in remote.py were reviewed Fixes #262
2015-02-21Merge pull request #261 from yarikoptic/bf/no-master-checkoutSebastian Thiel
BF: do not checkout master -- that ruins testing of PRs
2015-02-20BF: do not checkout master -- that ruins testing of PRs. "reset" master to ↵Yaroslav Halchenko
original HEAD