From 0ea8fe25f173a181ae7840abd501aac8cc2c65a1 Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Fri, 5 Jan 2018 10:09:04 +0000 Subject: [PATCH] Tweak initial commit script --- bin/git-initial-commit | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/git-initial-commit b/bin/git-initial-commit index 2c8d8a73..6d24d8a5 100755 --- a/bin/git-initial-commit +++ b/bin/git-initial-commit @@ -17,6 +17,7 @@ commits=( "Reinventing the wheel. Again." "This is not the commit message you are looking for" "Batman! (this commit has no parents)" +"In the beginning, the code was without form and was void()…" ) # Seed random generator @@ -26,4 +27,4 @@ RANDOM=$$$(date +%s) selectedexpression=${commits[$RANDOM % ${#commits[@]} ]} # Write to Shell -git commit -m "$selectedexpression" +git commit --allow-empty -m "$selectedexpression"