aboutsummaryrefslogtreecommitdiff
path: root/doc
AgeCommit message (Collapse)Author
2016-07-17chore(version-up): v2.0.72.0.7Sebastian Thiel
2016-06-20Merge branch 'master' into fix-non-ascii-chars-in-status-linesfix-non-ascii-chars-in-status-linesSebastian Thiel
2016-06-14Store raw path bytes in Diff instancesVincent Driessen
Previously, the following fields on Diff instances were assumed to be passed in as unicode strings: - `a_path` - `b_path` - `rename_from` - `rename_to` However, since Git natively records paths as bytes, these may potentially not have a valid unicode representation. This patch changes the Diff instance to instead take the following equivalent fields that should be raw bytes instead: - `a_rawpath` - `b_rawpath` - `raw_rename_from` - `raw_rename_to` NOTE ON BACKWARD COMPATIBILITY: The original `a_path`, `b_path`, etc. fields are still available as properties (rather than slots). These properties now dynamically decode the raw bytes into a unicode string (performing the potentially destructive operation of replacing invalid unicode chars by "�"'s). This means that all code using Diffs should remain backward compatible. The only exception is when people would manually construct Diff instances by calling the constructor directly, in which case they should now pass in bytes rather than unicode strings. See also the discussion on https://github.com/gitpython-developers/GitPython/pull/467
2016-06-14Fix for parsing non-ASCII chars in status linesVincent Driessen
2016-06-14doc(changes): inform about new APISebastian Thiel
Relates to #446
2016-06-01Fixed 'TypeError: decode() takes no keyword arguments' on Python 2.6Andreas Maier
2016-05-30Bump for new versionVincent Driessen
2016-05-30Fix regexVincent Driessen
This catches the case where the matched line contains "(" or ")" characters.
2016-05-30Update changelogVincent Driessen
2016-05-30Fix bug in diff parser outputVincent Driessen
The diff --patch parser was missing some edge case where Git would encode non-ASCII chars in path names as octals, but these weren't decoded properly. \360\237\222\251.txt Decoded via utf-8, that will return: 💩.txt
2016-05-29doc(changes): inform about new progress APISebastian Thiel
Related to #450
2016-05-26chore(compat): another attempt to get travis rightSebastian Thiel
2016-05-25chore(changes): put fix to correct patch levelSebastian Thiel
2016-05-25fix(RemoteProgress): improve message sanitizationSebastian Thiel
Don't allow `, ` prefixes or suffixes in messages. Fixes #438
2016-05-24Fixes for RST syntaxVincent Driessen
2016-05-24Wrap long lines for display in terminalsVincent Driessen
2016-05-24Add fix to changelogVincent Driessen
2016-05-24fix(cmd): fix with_stdout implementationSebastian Thiel
Admittedly this fix is solely based on the documentation provided for this parameter, which indicated a different intend than was actually implemented. Also I don't believe doing this will cause any harm. As a special note: the call to `open(os.devnull, 'wb')` does not seem leak the handle, apparently it is given as-is to the subprocess, which will then close it naturally. This was tested using an interactive session via `htop` on osx. Fixes #437
2016-05-24fix(cmd): don't catch progress handler exceptionsSebastian Thiel
Fixes #435
2016-05-10Update requirements docinderpreet99
2016-04-28This is 2.0.22.0.2Vincent Driessen
2016-04-24Update changelogVincent Driessen
2016-04-22version 2.0.0Sebastian Thiel
2016-04-20Add change log entryVincent Driessen
2016-04-20Bump minor insteadVincent Driessen
2016-04-20Add change log entryVincent Driessen
2016-04-19Update changelogVincent Driessen
2016-04-19Merge remote-tracking branch 'upstream/master'Vincent Driessen
2016-04-19feat(py-support): drop py2.6 supportSebastian Thiel
In response to https://github.com/gitpython-developers/GitPython/pull/408/files/5de21c7fa2bdd5cd50c4f62ba848af54589167d0..aae2a7328a4d28077a4b4182b4f36f19c953765b#r59722704
2016-04-14Update changelog for next releaseVincent Driessen
2016-03-14Fix it's vs its in tutorial.rstMark Wagner
2015-12-14fix(tree): remove Tree.cache - use IndexFile.write_tree() insteadSebastian Thiel
For more information, see CHANGES.rst Fixes #369
2015-08-22fix(repo): use GitCmdObjectDB by defaultSebastian Thiel
This should fix resource leaking issues once and for all. Related #304
2015-08-17fix(commit): serialization timezone handlingSebastian Thiel
Previously timezones which were not divisable by 3600s would be parsed correctly, but would serialize into a full hour, rounded up. Now floating point computation is used which fixes the issue. Related to #336
2015-07-28Fix bug in tutorialRam Rachum
2015-06-10docs(tutorial): fix typo, minor improvementsSebastian Thiel
2015-06-05Add example ssh scriptTomas Dabasinskas
2015-05-26docs(intro):swap mailinglist with stackoverflowSebastian Thiel
2015-04-22fix(versionup): release 1.0.11.0.1Sebastian Thiel
2015-04-17Changelog typobradley
very small typo in changelog. Reop -> Repo
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): 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(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(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(docs): sphinx docs build in latest versionSebastian Thiel
2015-02-09Replace GIT_SSH with GIT_SSH_COMMAND for SSH key management.Jonas Trappenberg
Also move untestable documentation out of test. Related: #234, #242