Skip to content

Commit ce88182

Browse files
committed
make shellcheck happy. #170
1 parent a7d0909 commit ce88182

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-open

+1-1
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ elif [[ $remote_ref != "master" || "$file" ]]; then
259259
fi
260260

261261
if [ "$file" ]; then
262-
absfile=$(git ls-tree --full-name --name-only $branch $file)
262+
absfile=$(git ls-tree --full-name --name-only "$branch" "$file")
263263
if [[ -z "$absfile" ]]; then
264264
echo "File $file is not in repository" 1>&2
265265
exit 1

0 commit comments

Comments
 (0)