git-ignore
git-ignore copied to clipboard
git-ignore: line 71: [: -eq: unary operator expected
On the lines,
if [ ${global} -eq 1 ] ; then
target="${HOME}/.gitignore"
elif [ ${info_exclude} -eq 1 ]; then
target="${git_dir}/info/exclude"
should be shrouded with double quote
if [ "${global}" -eq 1 ] ; then
target="${HOME}/.gitignore"
elif [ "${info_exclude}" -eq 1 ]; then
target="${git_dir}/info/exclude"
I'm sorry for not providing any pull request. Maybe in the future.