Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
ref_transaction_commit(): simplify code using temporary variables
[gitweb.git]
/
notes-cache.c
diff --git
a/notes-cache.c
b/notes-cache.c
index eabe4a0d9bf44050dba43cbd821642cdfd3fb40b..97dfd63c9bf564ac052addc4a3f62a325bbc1303 100644
(file)
--- a/
notes-cache.c
+++ b/
notes-cache.c
@@
-62,7
+62,7
@@
int notes_cache_write(struct notes_cache *c)
if (commit_tree(&msg, tree_sha1, NULL, commit_sha1, NULL, NULL) < 0)
return -1;
if (update_ref("update notes cache", c->tree.ref, commit_sha1, NULL,
- 0, QUIET_ON_ERR) < 0)
+ 0,
UPDATE_REFS_
QUIET_ON_ERR) < 0)
return -1;
return 0;