summaryrefslogtreecommitdiffstats
path: root/tests/testsuite/git_branch.rs
AgeCommit message (Collapse)Author
2019-09-14perf: Lazy load files from directory (#335)Nick Young
Changes context to use `once_cell` to lazily evaluate directory listing on first use.
2019-09-09fix: Lazy load git repo and only run module if not disabled (#306)Neil Kistner
A couple of optimizations are done in this PR. One, we now will check config ahead of time to see if a module is disabled before running any module code. Also, we won't try to discover a git repository unless the module requests access to it.
2019-09-07fix: Fixture repo will now clone and set git config locally (#307)Neil Kistner
2019-09-04ci: Migrate CI from Azure Pipelines to GitHub Actions (#233)Matan Kushner
Migrated CI from Azure Pipelines to GitHub Actions. Until the release process is figured out in Actions, we'll stick to using Azure pipelines for releases.
2019-09-04refactor: Move `create_fixture_repo` into common in integration tests (#282)Neil Kistner
2019-09-02feat: added truncation_length/symbol to git_branch (#268)Titouan Vervack
Git branches can become very long (e.g. gitlab auto-generated branch names), thus it would be nice to be able to truncate them to keep your prompt lenght in line. This patch adds two new options to the git_branch module: * truncation_length: The amount of graphemes to of a gitbranch to truncate to * truncation_symbol: The symbol that should be used to indicate that a branch name was trunctated To be able to correctly work with UTF-8 graphemes, unicode-segmentation was added as a dependency.