SubmittingPatches: explain rationale for using --notes with format-patch
[gitweb.git] / notes-cache.c
index 25b20aa21ff3896111e99c356648e934060b1825..c4e9bb7f6c0bde97c7c6d34094baa5ef7e318157 100644 (file)
@@ -60,7 +60,7 @@ int notes_cache_write(struct notes_cache *c)
                        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;