projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5dcbfd
)
builtin-remote.c: no "commented out" code, please
author
Junio C Hamano
<gitster@pobox.com>
Sun, 8 Mar 2009 08:10:33 +0000
(
00:10
-0800)
committer
Junio 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
patch
|
blob
|
history
diff --git
a/builtin-remote.c
b/builtin-remote.c
index 7e82a52b7d66546d4c7bc70f0cb3f050cdb50133..7b31e554e97c320562ab3c03c3de140e69cffb37 100644
(file)
--- a/
builtin-remote.c
+++ b/
builtin-remote.c
@@
-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);