summaryrefslogtreecommitdiff
path: root/notes.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-08-22 21:02:41 -0700
committerJunio C Hamano <gitster@pobox.com>2011-08-22 21:02:41 -0700
commitc4440374b10abdb2a9afc6e1bfee6a5f3780cad7 (patch)
treee7a9e34a29206855a4b7a439045828d6709d7d9d /notes.c
parentcee426811c981c62c4b236ebdcb47d1c2945cf56 (diff)
parent1be9d84b2ed18c2b2e2d6a459d2b6d48d5ab86e5 (diff)
downloadgit-c4440374b10abdb2a9afc6e1bfee6a5f3780cad7.tar.gz
Merge branch 'maint'
* maint: add technical documentation about ref iteration Do not use C++-style comments
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;