symbolic-ref, update-ref: do not refuse reflog message with LF
[git/git.git] / builtin-symbolic-ref.c
index d41b406..9eb95e5 100644 (file)
@@ -43,8 +43,6 @@ int cmd_symbolic_ref(int argc, const char **argv, const char *prefix)
                        msg = argv[1];
                        if (!*msg)
                                die("Refusing to perform update with empty message");
-                       if (strchr(msg, '\n'))
-                               die("Refusing to perform update with \\n in message");
                }
                else if (!strcmp("--", arg)) {
                        argc--;