diff options
Diffstat (limited to 'Tools/scripts/tindex')
-rwxr-xr-x | Tools/scripts/tindex | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Tools/scripts/tindex b/Tools/scripts/tindex index 9adbfc4e7b80..cf8eb8c6ce8e 100755 --- a/Tools/scripts/tindex +++ b/Tools/scripts/tindex @@ -42,9 +42,11 @@ fi # -------------------------------------------------------- blame() { - # Find out who is responsible for current version of file $1 + # Find out who is responsible for current version of file $1, if not deleted - git log --no-patch --max-count=1 --format='%ce' $1 + if [ -e $1 ]; then + ${GIT} log --no-patch --max-count=1 --format='%ce' $1 + fi } indexfail() { |