forked from osmocom/wireshark
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:
parent
17170ea1fe
commit
6633ca1b90
|
@ -147,9 +147,9 @@ function ws_exit_error() {
|
||||||
|
|
||||||
echo -e "\n" >> $TMP_DIR/${ERR_FILE}.header
|
echo -e "\n" >> $TMP_DIR/${ERR_FILE}.header
|
||||||
|
|
||||||
if [ -d ${GIT_DIR:-.git} ] ; then
|
if [ -d "${GIT_DIR:-.git}" ] ; then
|
||||||
echo -e "\nGit commit" >> $TMP_DIR/${ERR_FILE}.header
|
echo -e "\nLatest (but not necessarily the problem) commit:" >> "$TMP_DIR/${ERR_FILE}.header"
|
||||||
git log -1 >> $TMP_DIR/${ERR_FILE}.header
|
git log --max-count=1 --oneline >> "$TMP_DIR/${ERR_FILE}.header"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo -e "\n" >> $TMP_DIR/${ERR_FILE}.header
|
echo -e "\n" >> $TMP_DIR/${ERR_FILE}.header
|
||||||
|
|
Loading…
Reference in New Issue