fix whitespace issues with git-pull-all-branches
This commit is contained in:
parent
3d173a7832
commit
4b8ed5eba6
1 changed files with 5 additions and 5 deletions
|
|
@ -263,10 +263,10 @@ git-pull-all-branches() {
|
||||||
bs=($@)
|
bs=($@)
|
||||||
[[ -z "$bs" ]] && bs=($(git branch | sed -e 's/\* //'))
|
[[ -z "$bs" ]] && bs=($(git branch | sed -e 's/\* //'))
|
||||||
for b ($bs) {
|
for b ($bs) {
|
||||||
git checkout "$b"
|
git checkout $b
|
||||||
git pull origin "$b"
|
git pull origin $b
|
||||||
}
|
}
|
||||||
git checkout "$origbranch"
|
git checkout $origbranch
|
||||||
}
|
}
|
||||||
|
|
||||||
function e() {
|
function e() {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue