Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2016-02-15 05:40:32 +0300
committerMichael Niedermayer <michael@niedermayer.cc>2016-02-15 05:51:39 +0300
commitc40983a6f631d22fede713d535bb9c31d5c9740c (patch)
treefb208a837259d9a73be6f4cf9fc5b291ba842e28
parentbd0497b28bc2fac669a6a528579ecf66c817ffc5 (diff)
fate/source-check.sh: Use "git show" instead of git --version to test for gitn3.0
This fixes fate with non git source trees Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 295de3efc53efa3945c3116b5a910b1464632358) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rwxr-xr-xtests/fate/source-check.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fate/source-check.sh b/tests/fate/source-check.sh
index 33affae24d..ac2878d9f7 100755
--- a/tests/fate/source-check.sh
+++ b/tests/fate/source-check.sh
@@ -2,7 +2,7 @@
cd "$1"/..
-git --version > /dev/null || { cat tests/ref/fate/source ; exit 0; }
+git show > /dev/null 2> /dev/null || { cat tests/ref/fate/source ; exit 0; }
echo Files without standard license headers:
git grep -L -E "This file is part of FFmpeg|This file is part of libswresample|"\