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

Makes git_update.sh handle detached heads #835

Merged
merged 1 commit into from Oct 22, 2014

Conversation

remram44
Copy link
Contributor

git symbolic-ref HEAD will fail in detached head mode.

@remram44 remram44 added the Build label Oct 21, 2014
@remram44 remram44 added this to the 2.1 milestone Oct 21, 2014
@remram44
Copy link
Contributor Author

Doesn't fix #837

@aashish24
Copy link
Contributor

LGTM

aashish24 added a commit that referenced this pull request Oct 22, 2014
Makes git_update.sh handle detached heads
@aashish24 aashish24 merged commit 7f6b49d into CDAT:master Oct 22, 2014
@remram44 remram44 deleted the git-update branch October 22, 2014 02:06
@doutriaux1
Copy link
Contributor

@remram44 should have we merge this if it doesn't fix #837 ?

@remram44
Copy link
Contributor Author

It fixes the case where the repository is in detached-head (such as, after checking out a tag), so it should be merged in. But it doesn't fix updating if @branch@ is a tag -- a patch will be needed for that.

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

Successfully merging this pull request may close these issues.

None yet

3 participants