From 44a601a068f4f543f73fd9c49e264c931b1e1652 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Fri, 23 Oct 2009 16:51:59 +0200 Subject: Added notes about git-update-ref --- TODO | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/TODO b/TODO index c2cc804b..d44842f6 100644 --- a/TODO +++ b/TODO @@ -68,7 +68,12 @@ 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 -* Check whether we are the active reference HEAD.commit == self.commit + !! - Could simply rewrite it using git-update-ref which works nicely for symbolic + and for normal refs !! +* 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. + Remove me Remote ------ -- cgit v1.2.3