More topics for 2.8.4
[gitweb.git] / builtin / symbolic-ref.c
index ce0fde705c0350ad99678541f434df5e07f5a263..9c29a64e4331e1e45b4467829ba950006b673818 100644 (file)
@@ -67,7 +67,7 @@ int cmd_symbolic_ref(int argc, const char **argv, const char *prefix)
                if (!strcmp(argv[0], "HEAD") &&
                    !starts_with(argv[1], "refs/"))
                        die("Refusing to point HEAD outside of refs/");
-               create_symref(argv[0], argv[1], msg);
+               ret = !!create_symref(argv[0], argv[1], msg);
                break;
        default:
                usage_with_options(git_symbolic_ref_usage, options);