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

Actually ignore the 'fatal: not a git repository' error #1738

Merged
merged 2 commits into from
Oct 18, 2021

Conversation

ubschmidt2
Copy link
Contributor

Git outputs the error on stderr, so that should be checked instead of stdout.
With this fix, the warning Failed to guess project directory using git: is suppressed as intended.

Git outputs the error on stderr, so that should be checked instead of stdout.
With this fix, the warning `Failed to guess project directory using git:` is suppressed as intended.
@ubschmidt2 ubschmidt2 requested a review from a team as a code owner October 15, 2021 11:33
@ubschmidt2 ubschmidt2 changed the title Actually ignore the 'fatal: not a git repository' Actually ignore the 'fatal: not a git repository' error Oct 15, 2021
@ssbarnea ssbarnea added the bug label Oct 18, 2021
@ssbarnea ssbarnea enabled auto-merge (squash) October 18, 2021 13:30
@ssbarnea ssbarnea merged commit d7011d0 into ansible:main Oct 18, 2021
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.

3 participants