-
Notifications
You must be signed in to change notification settings - Fork 423
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove all subshells on _lp_{vcs}_branch() functions
The _lp_{vcs}_branch_color() functions still echo their results, but the branch functions now use the new __lp_escape() and store the result in lp_vcs_branch. There will be a common interface over all the branch functions soon. Rename and rework _lp_escape() to __lp_escape(). As before, it's an internal private function that should only be used by data generating functions. It returns its data with the $ret var instead of echo. Add a newer Fossil command to make branch lookup simpler and faster.
- Loading branch information
Showing
1 changed file
with
64 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters