Skip to content
New issue

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

Include Git branch #22

Open
muety opened this issue Dec 31, 2023 · 2 comments
Open

Include Git branch #22

muety opened this issue Dec 31, 2023 · 2 comments

Comments

@muety
Copy link

muety commented Dec 31, 2023

wakatime-cli has functionality to automatically detect the Git branch that you're current working on, see here, here. However, the detection will only run if the heartbeat's entity is a file, see here.

For the ZSH plugin, I think it could be use useful to override that functionality by passing the current Git (or Mercurial?) branch in the current working directory (if existing) via --alternate-branch.

Brought up in the discussion at muety/wakapi#580 (reply in thread).

@sobolevn
Copy link
Owner

PR is welcome

@sobolevn
Copy link
Owner

and happy new year 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants