Browse files

BUG initialize local variable nbOtherRemotes to zero in __tartify_rem…


- otherwise, issues strange numbers sometimes (like '113' which naturally
  prevent the remote marker in the prompt to appear as they are limited to 3
  remotes in addition to the traditionnal upstream and origin
  • Loading branch information...
1 parent fc01e2f commit d968321044ff1492fad1012cadc30bfdee9afba9 Peter Host committed May 20, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 bin/tartify
@@ -2094,6 +2094,7 @@ __tartify_remote(){
local ps1varRadical
local nbRemotes=0
local firstRemote="true"
+ local nbOtherRemotes=0
# loop through remotes
#for remotename in $(git remote show); do #PROPER (new) syntax, but for compatibility with git & before, we instead use :

0 comments on commit d968321

Please sign in to comment.