Skip to content

Conversation

@mjcheetham
Copy link
Contributor

@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
@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