Skip to content

Commit

Permalink
Try removing quotes for array concatenation
Browse files Browse the repository at this point in the history
  • Loading branch information
ndbroadbent committed Jan 11, 2013
1 parent df996f4 commit 18e9479
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/git/repo_index.sh
Expand Up @@ -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
Expand Down

0 comments on commit 18e9479

Please sign in to comment.