summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2016-09-11 18:30:21 +0200
committerSebastian Thiel <byronimo@gmail.com>2016-09-11 18:30:21 +0200
commit06c9c919707ba4116442ca53ac7cf035540981f2 (patch)
tree7a5207918e9e05ae059019f1945f84813d60cf90 /doc
parent2ba897b12024fd20681b7c2f1b40bdbbccd5df59 (diff)
downloadgitpython-06c9c919707ba4116442ca53ac7cf035540981f2.tar.gz
fix(Head): checkout() handles detached head
It's not optimal, as we can now return one of two types which are only compatible in the most basic ways. However, it is better than before, I presume. Fixes #510
Diffstat (limited to 'doc')
-rw-r--r--doc/source/changes.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/source/changes.rst b/doc/source/changes.rst
index 62f8ab45..fcd8240c 100644
--- a/doc/source/changes.rst
+++ b/doc/source/changes.rst
@@ -7,6 +7,8 @@ Changelog
* `tag.commit` will now resolve commits deeply.
* `Repo` objects can now be pickled, which helps with multi-processing.
+* `Head.checkout()` now deals with detached heads, which is when it will return
+ the `HEAD` reference instead.
* `DiffIndex.iter_change_type(...)` produces better results when diffing
2.0.8 - Features and Bugfixes