summaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2009-10-22 23:20:16 +0200
committerSebastian Thiel <byronimo@gmail.com>2009-10-22 23:20:16 +0200
commit58e2157ad3aa9d75ef4abb90eb2d1f01fba0ba2b (patch)
tree3487e8a52687317cba7cc369a094459db4fdd770 /TODO
parentb2a14e4b96a0ffc5353733b50266b477539ef899 (diff)
downloadgitpython-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--TODO14
1 files changed, 6 insertions, 8 deletions
diff --git a/TODO b/TODO
index 3e743e65..5ec71dc3 100644
--- a/TODO
+++ b/TODO
@@ -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
------