diff options
author | Joerg Mayer <jmayer@loplof.de> | 2014-05-11 21:27:06 +0200 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2014-05-11 19:35:33 +0000 |
commit | 03f75ddfeebe41e07adadfba20e0ebe30da95490 (patch) | |
tree | b4c837dd54cb0ef2b6b2c83f60afd7119589b8d9 /tools/test-common.sh | |
parent | 7a010fa71bc23998d4a6888a280da6ca98c06403 (diff) |
It is possible to check out a source tree that is not co-located with
the .git repository. First attempts to support that setup.
Change-Id: Ie1560c372e23e58fb0e310f681388b5e1a65ba5b
Reviewed-on: https://code.wireshark.org/review/1596
Reviewed-by: Jörg Mayer <jmayer@loplof.de>
Diffstat (limited to 'tools/test-common.sh')
-rw-r--r-- | tools/test-common.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/test-common.sh b/tools/test-common.sh index 1accdc0442..17ac66b57a 100644 --- a/tools/test-common.sh +++ b/tools/test-common.sh @@ -152,7 +152,7 @@ function ws_exit_error() { echo -e "\n" >> $TMP_DIR/${ERR_FILE}.header - if [ -d .git ] ; then + if [ -d ${GIT_DIR:-.git} ] ; then echo -e "\nGit commit" >> $TMP_DIR/${ERR_FILE}.header git log -1 >> $TMP_DIR/${ERR_FILE}.header fi |