mirror of
https://github.com/paulirish/git-open.git
synced 2026-09-10 07:26:15 -04:00
This commit is contained in:
parent
a7d09090c2
commit
ce881820db
2
git-open
2
git-open
|
|
@ -259,7 +259,7 @@ elif [[ $remote_ref != "master" || "$file" ]]; then
|
|||
fi
|
||||
|
||||
if [ "$file" ]; then
|
||||
absfile=$(git ls-tree --full-name --name-only $branch $file)
|
||||
absfile=$(git ls-tree --full-name --name-only "$branch" "$file")
|
||||
if [[ -z "$absfile" ]]; then
|
||||
echo "File $file is not in repository" 1>&2
|
||||
exit 1
|
||||
|
|
|
|||
Loading…
Reference in a new issue