We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I feel it's convenient to have branch name along with tree name, but maybe it's expensive to call for each branch.
The text was updated successfully, but these errors were encountered:
It might be a little expensive. Luckily this feature is really easy to add as a custom command.
commands: show-branch: | echo -n "# ${TREE_NAME} " git symbolic-ref --short HEAD
Adding that allows you to run:
garden -q show-branch <tree-query>
A few questions -- we can see whether others have any opinions on these.
Should this be enabled by default, or should it be opt-in?
If it's opt-in ~ should this be a setting that gets configured via garden.yaml to enable it?
garden.yaml
Assuming the repo is called "repo" and the branch is called "dev", what should the output look like?
One of these three, or something else?
# repo (dev) # repo [dev] # repo :: dev
The current output is just # repo and if you use garden -v (aka --verbose) the output contains # repo /path/to/repo.
# repo
garden -v
--verbose
# repo /path/to/repo
Sorry, something went wrong.
5a54973
This has been implemented. # tree-name (branch) is what's displayed now.
# tree-name (branch)
Thanks for the sug!
https://garden-rs.gitlab.io/configuration.html#tree-display
No branches or pull requests
I feel it's convenient to have branch name along with tree name, but maybe it's expensive to call for each branch.
The text was updated successfully, but these errors were encountered: