Code

builtin-remote.c: no "commented out" code, please
authorJunio C Hamano <gitster@pobox.com>
Sun, 8 Mar 2009 08:10:33 +0000 (00:10 -0800)
committerJunio C Hamano <gitster@pobox.com>
Sun, 8 Mar 2009 08:10:33 +0000 (00:10 -0800)
And especially do not use // comment.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-remote.c

index 7e82a52b7d66546d4c7bc70f0cb3f050cdb50133..7b31e554e97c320562ab3c03c3de140e69cffb37 100644 (file)
@@ -333,7 +333,6 @@ static int get_push_ref_states(const struct ref *remote_refs,
                        info->status = PUSH_STATUS_FASTFORWARD;
                else
                        info->status = PUSH_STATUS_OUTOFDATE;
-               // ref->peer_ref = NULL; /* local ref which is freed below */
        }
        free_refs(local_refs);
        free_refs(push_map);