diff --git a/builtin-symbolic-ref.c b/builtin-symbolic-ref.c
index d41b40640b96e7d5568174c7d16088c29d361d42..9eb95e50da5656bc66e9db4d8cd23ef327a5ca8e 100644 (file)
--- a/builtin-symbolic-ref.c
+++ b/builtin-symbolic-ref.c
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--;