diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2009-11-03 17:44:13 +0100 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2009-11-03 17:44:13 +0100 |
commit | 572ace094208c28ab1a8641aedb038456d13f70b (patch) | |
tree | 9bb6197273dc9976bce5bd789a657f408fc1b77e /TODO | |
parent | 0c4269a21b9edf8477f2fee139d5c1b260ebc4f8 (diff) | |
download | gitpython-572ace094208c28ab1a8641aedb038456d13f70b.tar.gz |
Now using git-update-ref and git-symbolic-ref to update references with reflog support. This should be manually implemented though for more performance, what it does is relatively easy
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -80,11 +80,12 @@ Index Refs ----- -* When adjusting the reference of a symbolic reference, the ref log might need - adjustments as well. This is not critical, but would make things totally 'right' - - same with adjusting references directly - !! - Could simply rewrite it using git-update-ref which works nicely for symbolic - and for normal refs !! +* For performance reasons it would be good to reimplement git-update-ref to be + fully equivalent to what the command does. Currently it does some checking and + handles symbolic refs as well as normal refs, updating the reflog if required. +* I have read that refs can be symbolic refs as well which would imply the need + to possibly dereference them. This makes sense as they originally where possibly + a symbolic link * Check whether we are the active reference HEAD.reference == this_ref - NO: The reference dosnt need to know - in fact it does not know about the main HEAD, so it may not use it. This is to be done in client code only. @@ -92,6 +93,7 @@ Refs * Reference.from_path may return a symbolic reference although it is not related to the reference type. Split that up into two from_path on each of the types, and provide a general method outside of the type that tries both. +* Making the reflog available might be useful actually. Remote ------ |