From 2fea22b17bf68b79d3c6f6e5da1363eec7c0e5fc Mon Sep 17 00:00:00 2001 From: Chet Husk Date: Thu, 26 Jul 2018 11:22:42 -0500 Subject: [PATCH] add extended commit message --- src/app/Fake.Tools.Git/Commit.fs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/app/Fake.Tools.Git/Commit.fs b/src/app/Fake.Tools.Git/Commit.fs index b1782c040da..d1eef8fce2c 100644 --- a/src/app/Fake.Tools.Git/Commit.fs +++ b/src/app/Fake.Tools.Git/Commit.fs @@ -10,3 +10,8 @@ let exec repositoryDir message = |> runSimpleGitCommand repositoryDir |> Trace.trace +/// Commits all files in the given repository with the given short message along with an extended message +let execExtended repositoryDir shortMessage extendedMessage = + sprintf "commit -m \"%s\" -m \"%s\"" shortMessage extendedMessage + |> runSimpleGitCommand repositoryDir + |> Trace.trace