diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-08-22 21:02:41 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-08-22 21:02:41 -0700 |
commit | c4440374b10abdb2a9afc6e1bfee6a5f3780cad7 (patch) | |
tree | e7a9e34a29206855a4b7a439045828d6709d7d9d /notes.c | |
parent | cee426811c981c62c4b236ebdcb47d1c2945cf56 (diff) | |
parent | 1be9d84b2ed18c2b2e2d6a459d2b6d48d5ab86e5 (diff) | |
download | git-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |