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

Make git handling more robust (Closes #21) #22

Merged
merged 4 commits into from Feb 1, 2015
Merged

Make git handling more robust (Closes #21) #22

merged 4 commits into from Feb 1, 2015

Conversation

moritz
Copy link
Collaborator

@moritz moritz commented Dec 21, 2014

Use "git fetch" + "git checkout" instead of "git pull", because "pull" fails on detached HEADs.

Also includes a bit of unrelated robustness improvements.

when a previous build was with a tag or a specific revision, the
git repo ends up with a detached HEAD, and that makes "git pulL" fail.

Instead test if origin/$rev exists, and if yes, check that one out
that way the line number of failed external programs points to the caller
of run()
if the configure stage was aborted, some Makefile targets might be missing,
causing a "make realclean" to fail
If you forget the backend, but pass a revision to build, the error message
now makes it very clear that you forgot to specify the backend
tadzik pushed a commit that referenced this pull request Feb 1, 2015
Make git handling more robust (Closes #21)
@tadzik tadzik merged commit 4ba94c5 into tadzik:master Feb 1, 2015
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.

None yet

2 participants