From 14753a9ef566d30edaa5136ea12d17fba98ef5db Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Wed, 22 Dec 2010 23:34:08 +0100 Subject: [PATCH] instead, exclude background_l2 from that hashing stuff --- misc/tools/cached-converter.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/misc/tools/cached-converter.sh b/misc/tools/cached-converter.sh index 517ad982..06433d08 100755 --- a/misc/tools/cached-converter.sh +++ b/misc/tools/cached-converter.sh @@ -49,7 +49,15 @@ cached() if [ x"$infile1/../$infile2" = x"$lastinfiles" ]; then sum=$lastinfileshash else - if [ -n "$git_src_repo" ]; then + evil=false + for infile in "$infile1" "$infile2"; do + case "$infile" in + */background_l2.tga) + evil=true + ;; + esac + done + if [ -n "$git_src_repo" ] && ! $evil; then sum=`( cd "$git_src_repo"; git rev-parse --revs-only HEAD:"${infile1#./}" | grep . ) || git hash-object "$infile1"` if [ -n "$infile2" ]; then sum=$sum`( cd "$git_src_repo"; git rev-parse --revs-only HEAD:"${infile2#./}" | grep . ) || git hash-object "$infile2"` -- 2.39.2