Fuzz: Don't blame the latest commit.

The latest commit in a fuzz failure report *usually* isn't the problem.
Try to make that more clear.
This commit is contained in:
Gerald Combs 2020-10-22 17:12:37 -07:00 committed by AndersBroman
parent 17170ea1fe
commit 6633ca1b90
1 changed files with 3 additions and 3 deletions

View File

@ -147,9 +147,9 @@ function ws_exit_error() {
echo -e "\n" >> $TMP_DIR/${ERR_FILE}.header
if [ -d ${GIT_DIR:-.git} ] ; then
echo -e "\nGit commit" >> $TMP_DIR/${ERR_FILE}.header
git log -1 >> $TMP_DIR/${ERR_FILE}.header
if [ -d "${GIT_DIR:-.git}" ] ; then
echo -e "\nLatest (but not necessarily the problem) commit:" >> "$TMP_DIR/${ERR_FILE}.header"
git log --max-count=1 --oneline >> "$TMP_DIR/${ERR_FILE}.header"
fi
echo -e "\n" >> $TMP_DIR/${ERR_FILE}.header