Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: vcs_info: '%' in payloads not escaped



On Jan 5,  4:07pm, Daniel Shahaf wrote:
}
} How about the following?
} 
} [[[
} @@ -131,12 +131,14 @@ VCS_INFO_git_handle_patches () {
}          else
}              git_applied_s=""
}          fi
} +        git_applied_s=${git_applied_s//'%'/%%}
}      else
}          git_applied_s=${hook_com[applied-string]}
}      fi

Shouldn't that + go above the "else"?  No point in substituting on
git_applied_s when it has just been set to "" ?

With respect to the rest of the thread between you and Frank, I
understand Frank's concern but I think you have it right.



Messages sorted by: Reverse Date, Date, Thread, Author