    done

    return $found_hardtab
} 


if [ $# -eq 0  ]; then
    echo "Checking files staged for commit for hardtabs..."
    repo_root=$(git rev-parse --show-toplevel)/
    added_files=$(git diff-index --name-only --cached HEAD | sed "s:^:$repo_root:") 

    check-hardtabs "${added_files[@]}" | column -t
else
    check-hardtabs "$@" | column -t