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