Skip to content

internal/build: fix commit extraction for detached head repo #18315

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

Merged
merged 3 commits into from
Aug 8, 2019

Conversation

soar
Copy link
Contributor

@soar soar commented Dec 15, 2018

If your repository is in "detached HEAD state" when you compile project - commit hash is not detected automatically.

In this repo state HEAD file contains just commit hash and not branch name. I propose to use this commit on build stage.

@fjl fjl changed the title Fix commit extraction internal/build: fix commit extraction for detached head repo Dec 19, 2018
@soar
Copy link
Contributor Author

soar commented Jan 11, 2019

@fjl ping

@soar
Copy link
Contributor Author

soar commented Feb 10, 2019

Up!

@karalabe karalabe added this to the 1.9.2 milestone Aug 8, 2019
@karalabe karalabe merged commit f3478f2 into ethereum:master Aug 8, 2019
4000D pushed a commit to tokamak-network/plasma-evm that referenced this pull request Sep 16, 2019
* Fix commit extraction

* Comments for commit extraction

Requested in ethereum/go-ethereum#18315
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

Successfully merging this pull request may close these issues.

4 participants