Tags with slashes are ignored
Open
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 1.8k
- Forks
- 134
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 1
Description
Original report: https://www.reddit.com/r/zsh/comments/oz0xkt/p10k_not_showing_git_tags_with_slashes/
To reproduce:
❯ zsh -f
% mkdir /tmp/repo
% cd /tmp/repo
% git init
Initialized empty Git repository in /tmp/repo/.git/
% git commit --allow-empty -m first
[master (root-commit) 2d04980] first
% git tag foo/bar
% source ~/gitstatus/gitstatus.plugin.zsh
% gitstatus_start MY
% gitstatus_query MY
% typeset -p VCS_STATUS_TAG
typeset VCS_STATUS_TAG=''
The expected output from the last command:
typeset VCS_STATUS_TAG='foo/bar'
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the behavior with zsh -f using the commands in the report, then trace how gitstatus.plugin.zsh and gitstatus_query populate VCS_STATUS_TAG for tags containing slashes. Done means the final typeset command reports VCS_STATUS_TAG='foo/bar'.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, git, zsh
- Domain
- cli, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100