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

Do not query local bindings if outside repo in Azure Repos #1561

Merged
merged 1 commit into from
Mar 26, 2024

Conversation

mjcheetham
Copy link
Collaborator

@mjcheetham mjcheetham commented Mar 26, 2024

Do not attempt to query for an organisation/user binding in the local repository configuration if we're not currently inside of a repository!

This will prevent the warning message from Git's standard error stream from flowing to our caller's stderr stream when GCM tries to use the --local option in a git config call.

cc @markphip

Fixes #1554

Do not attempt to query for an organisation/user binding in the local
repository configuration if we're not currently inside of a repository!

This will prevent the warning message from Git's standard error stream
from flowing to our caller's stderr stream when GCM tries to use the
`--local` option in a `git config` call.
@mjcheetham mjcheetham merged commit 5f9bede into git-ecosystem:main Mar 26, 2024
6 checks passed
@mjcheetham mjcheetham deleted the azdo-binding-warning-fix branch March 26, 2024 21:19
@mjcheetham mjcheetham mentioned this pull request Apr 16, 2024
mjcheetham added a commit that referenced this pull request Apr 16, 2024
**Changes:**

- Fixes to install from source script (#1469)
- Use Avalonia generated view code (#14790
- Various GitHub Actions updates (#1473, #1483, #1487, #1486, #1488,
#1528, #1547)
- Fix bug in Azure Repos URL handling (#1522)
- Add Azure Managed Identity and SP docs (#1548)
- Fix error messages when using GCM outside of repo (#1561, #1583)
- Remove ESRP (#1571)
- Update to .NET 8 for Mac and Linux (#1579, #1580)
- Fix Alpine install from source script (#1582)
@Luis19877

This comment was marked as off-topic.

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.

"git clone" yields error "fatal: --local can only be used inside a git repository"
3 participants