Skip to content
Snippets Groups Projects
Commit e81bd9a1 authored by Mitsuhiro Koga's avatar Mitsuhiro Koga
Browse files

Split the commit message into the subject line and the body

parent abd25664
No related branches found
No related tags found
No related merge requests found
......@@ -16,10 +16,9 @@ namespace GitHub.Unity
Name = TaskName;
arguments = "commit ";
arguments += String.Format(" -m \"{0}", message);
arguments += String.Format(" -m \"{0}\"", message);
if (!String.IsNullOrEmpty(body))
arguments += String.Format("{0}{1}", Environment.NewLine, body);
arguments += "\"";
arguments += String.Format(" -m \"{0}\"", body);
}
public override string ProcessArguments { get { return arguments; } }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment