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

Gracefully fail githeadinfo when not in a git repo / no commits #16

Open
cdlm opened this issue Dec 14, 2016 · 0 comments
Open

Gracefully fail githeadinfo when not in a git repo / no commits #16

cdlm opened this issue Dec 14, 2016 · 0 comments
Assignees

Comments

@cdlm
Copy link
Owner

cdlm commented Dec 14, 2016

  • gitinfo2.sh should check if it's being run within a git repo
  • it should take the output file as parameter and not write it unless it's able to (redirecting stdout generates an empty file on failure)
@cdlm cdlm self-assigned this Dec 14, 2016
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

1 participant