diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2009-10-22 23:20:16 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2009-10-22 23:20:16 +0200 |
commit | 58e2157ad3aa9d75ef4abb90eb2d1f01fba0ba2b (patch) | |
tree | 3487e8a52687317cba7cc369a094459db4fdd770 /TODO | |
parent | b2a14e4b96a0ffc5353733b50266b477539ef899 (diff) | |
download | gitpython-58e2157ad3aa9d75ef4abb90eb2d1f01fba0ba2b.tar.gz |
Added SymbolicReference and HEAD type to better represent these special types of references and allow special handling
Head.reset now is an instance method of HEAD type
Concatenated all reference specific tests into test_refs
started to fix tests breaking now because of changed interface
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO | 14 |
1 files changed, 6 insertions, 8 deletions
@@ -58,14 +58,12 @@ Index creating several tree objects, so in the end it might be slower. Hmm, probably its okay to use the command unless we go c(++) - -Head.reset ----------- -* Should better be an instance method. Problem was that there is no class specifying - the HEAD - in a way reset would always effect the active branch. - Probably it would be okay to have a special type called SymbolicReference - which represents items like HEAD. These could naturally carry the reset - instance method. +Refs +----- +* If the HEAD is detached as it points to a specific commit, its not technically + a symbolic reference anymore. Currently, we cannot handle this that well + as we do not check for this case. This should be added though as it is + valid to have a detached head in some cases. Remote ------ |