Run 'git log' if we have a .git directory. Fixes a copy+paste error.

svn path=/trunk/; revision=44784
This commit is contained in:
Gerald Combs 2012-09-05 20:58:15 +00:00
parent cc9feb9857
commit 345529250f
2 changed files with 2 additions and 2 deletions

View File

@ -201,7 +201,7 @@ function exit_error() {
svn log -l 1 >> $TMP_DIR/$ERR_FILE
elif [ -d .git ] ; then
echo -e "\nGit commit" >> $TMP_DIR/$ERR_FILE
svn log -l 1 >> $TMP_DIR/$ERR_FILE
git log -1 >> $TMP_DIR/$ERR_FILE
fi
echo -e "stderr follows:\n"

View File

@ -92,7 +92,7 @@ function exit_error() {
svn log -l 1 >> $TMP_DIR/$ERR_FILE
elif [ -d .git ] ; then
echo -e "\nGit commit" >> $TMP_DIR/$ERR_FILE
svn log -l 1 >> $TMP_DIR/$ERR_FILE
git log -1 >> $TMP_DIR/$ERR_FILE
fi
echo -e "stderr follows:\n"