You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added an option to choose if commit message is prettified or not
Prettifing the message includes:
* Removing empty lines from the beginning and end.
* Removing trailing spaces from every line.
* Turning multiple consecutive empty lines between paragraphs into just one empty line.
* Ensuring the commit message ends with a newline.
* Removing every line starting with "#".
Note that this has nothing to do with the core.autocrlf option.
Copy file name to clipboardExpand all lines: LibGit2Sharp/ObjectDatabase.cs
+31-4Lines changed: 31 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -191,12 +191,36 @@ public virtual Tree CreateTree(TreeDefinition treeDefinition)
191
191
/// <param name="tree">The <see cref="Tree"/> of the <see cref="Commit"/> to be created.</param>
192
192
/// <param name="parents">The parents of the <see cref="Commit"/> to be created.</param>
193
193
/// <returns>The created <see cref="Commit"/>.</returns>
194
+
[Obsolete("This method will be removed in the next release. Please use CreateCommit(Signature, Signature, string, bool, Tree, IEnumerable<Commit>) instead.")]
0 commit comments