summaryrefslogtreecommitdiff
path: root/notes.c
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2011-08-22 12:33:52 +0200
committerJunio C Hamano <gitster@pobox.com>2011-08-22 10:07:07 -0700
commit885b797a4abe1fdfe7c4273caa34207d6e5e4760 (patch)
tree88f105db7e129bf3d06af2dd0f42a12bf9fcd98d /notes.c
parentec099546a9afdb73b6bf39d5d684e6fb207e2a7f (diff)
downloadgit-885b797a4abe1fdfe7c4273caa34207d6e5e4760.tar.gz
Do not use C++-style comments
Detected by "gcc -std=iso9899:1990 ...". This patch applies against "maint". Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'notes.c')
-rw-r--r--notes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/notes.c b/notes.c
index f6ce8489d3..93e9868d5d 100644
--- a/notes.c
+++ b/notes.c
@@ -1105,7 +1105,7 @@ int remove_note(struct notes_tree *t, const unsigned char *object_sha1)
hashcpy(l.key_sha1, object_sha1);
hashclr(l.val_sha1);
note_tree_remove(t, t->root, 0, &l);
- if (is_null_sha1(l.val_sha1)) // no note was removed
+ if (is_null_sha1(l.val_sha1)) /* no note was removed */
return 1;
t->dirty = 1;
return 0;