aboutsummaryrefslogtreecommitdiffstats
path: root/tools/randpkt-test.sh
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2012-09-05 20:58:15 +0000
committerGerald Combs <gerald@wireshark.org>2012-09-05 20:58:15 +0000
commit345529250f36cb4ff6e8f7fefdbfc818f6e4e31c (patch)
tree1e4b3f439a03499032eb04a0cb9096e4c93b5bb7 /tools/randpkt-test.sh
parentcc9feb98571a2945aa6a3ce5101d44869a629bb8 (diff)
Run 'git log' if we have a .git directory. Fixes a copy+paste error.
svn path=/trunk/; revision=44784
Diffstat (limited to 'tools/randpkt-test.sh')
-rwxr-xr-xtools/randpkt-test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/randpkt-test.sh b/tools/randpkt-test.sh
index 0fb1339c25..2260835951 100755
--- a/tools/randpkt-test.sh
+++ b/tools/randpkt-test.sh
@@ -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"