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

Add git commit hash to -V option display result #1650

Closed
wants to merge 1 commit into from

Conversation

h-michael
Copy link

If the user use git command and build at directory has .git, tmux -V show git commit hash.

ex.

$ tmux -V
$ tmux next-2.9 1d6fe43c

@nicm
Copy link
Member

nicm commented Mar 24, 2019

No I don't want this thanks.

@nicm nicm closed this Mar 24, 2019
@h-michael
Copy link
Author

@nicm
I'm sorry for not knowing that you don't want that.
I build tmux everyday when new commit is pushed.
But I sometimes face to regressions.
If I can know tmux's commit hash I use, I can more easily to report the issue.

Would you tell me why you don't want?

@nicm
Copy link
Member

nicm commented Mar 24, 2019

I don't think the build should have a dependency on the VCS and I don't think the version string should depend on where you got the code. If you are reporting problems it is best to reproduce with the latest Git anyway.

@h-michael
Copy link
Author

I don't think the build should have a dependency on the VCS

I understand your thought.
How do you think adding patch number to each code changes ?

@h-michael h-michael deleted the git-commit-hash branch March 24, 2019 08:40
@nicm
Copy link
Member

nicm commented Mar 24, 2019 via email

@h-michael
Copy link
Author

I see.
related issue #810

I decided to resolve my problem with this comment.
#810 (comment)

@lock
Copy link

lock bot commented Feb 14, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Feb 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants