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>"); } }