From 42bf6bcd2e4f05c140f67a00a64127297672c6c7 Mon Sep 17 00:00:00 2001 From: Alex Schroeder Date: Sat, 5 Nov 2011 13:19:06 +0000 Subject: [PATCH] *** empty log message *** --- ChangeLog | 10 ++++++++++ modules/git.pl | 4 ++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 10068083..cfb216a7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2011-11-05 Alex Schroeder + + * modules/git.pl (GitCleanup): No $id for commit. + (GitInitRepository): Add --quiet. + +2011-11-04 Alex Schroeder + + * modules/git.pl (GitCleanup): Get rid of git add --all and use + git commit -a instead. + 2011-10-23 Alex Schroeder * modules/tags.pl (NewTagDeletePage): Return OldTagDeletePage(). diff --git a/modules/git.pl b/modules/git.pl index 978ac58e..47aff5f9 100644 --- a/modules/git.pl +++ b/modules/git.pl @@ -89,7 +89,7 @@ sub GitInitRepository { WriteStringToFile("$GitDir/$id", $Page{text}); GitRun('add', $id); } - GitRun('commit', '-m', 'initial import', + GitRun('commit', '--quiet', '-m', 'initial import', "--author=Oddmuse <$GitMail>"); } else { chdir($GitDir); # important for all the git commands that follow! @@ -150,6 +150,6 @@ sub GitCleanup { # commit the new state chdir($GitDir); # important for all the git commands that follow! GitRun('commit', '--quiet', '-a', '-m', 'maintenance job', - "--author=Oddmuse <$GitMail>", $id); + "--author=Oddmuse <$GitMail>"); } }