]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/update-ref.c
delete_ref: accept a reflog message argument
[thirdparty/git.git] / builtin / update-ref.c
index 7f30d3a76f69e58ae3cdbbe05c5ebdce6c8a120d..86d006d36335a5ce896b0cd76a2dec7cc4465f50 100644 (file)
@@ -433,7 +433,7 @@ int cmd_update_ref(int argc, const char **argv, const char *prefix)
                 * For purposes of backwards compatibility, we treat
                 * NULL_SHA1 as "don't care" here:
                 */
-               return delete_ref(refname,
+               return delete_ref(NULL, refname,
                                  (oldval && !is_null_sha1(oldsha1)) ? oldsha1 : NULL,
                                  flags);
        else