diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2016-09-11 18:30:21 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2016-09-11 18:30:21 +0200 |
commit | 06c9c919707ba4116442ca53ac7cf035540981f2 (patch) | |
tree | 7a5207918e9e05ae059019f1945f84813d60cf90 /doc | |
parent | 2ba897b12024fd20681b7c2f1b40bdbbccd5df59 (diff) | |
download | gitpython-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.rst | 2 |
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 |