Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit d968321044ff1492fad1012cadc30bfdee9afba9 1 parent fc01e2f
Peter Host authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  bin/tartify
1  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 :
Please sign in to comment.
Something went wrong with that request. Please try again.