Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Try removing quotes for array concatenation

  • Loading branch information...
commit 18e94797e9cb4d57855c1542e2d5efee68ae06bc 1 parent df996f4
@ndbroadbent authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/git/repo_index.sh
View
6 lib/git/repo_index.sh
@@ -217,10 +217,10 @@ _git_index_update_all_branches() {
# Ignore branch if remote and merge is not configured
if [[ -n "$remote" ]] && [[ -n "$merge" ]]; then
- branches=("${branches[@]}" "$branch")
- remotes=("${remotes[@]}" "$remote")
+ branches=(${branches[@]} "$branch")
+ remotes=(${remotes[@]} "$remote")
# Get branch from merge ref (refs/heads/master => master)
- merges=("${merges[@]}" "$(basename $merge)")
+ merges=(${merges[@]} "$(basename $merge)")
else
echo "=== Skipping $branch: remote and merge refs are not configured."
fi
Please sign in to comment.
Something went wrong with that request. Please try again.