Skip to content

Commit 87e38f8

Browse files
committed
Call out case sensitivity of env var
1 parent 524555a commit 87e38f8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docfx/docs/shallow-cloning-agents.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ Since Nerdbank.GitVersioning dependencies will fail on shallow clones, this can
66
For most repos, setting the `NBGV_GitEngine=Disabled` environment variable is an effective way to unblock these agents.
77
This does not completely remove Nerdbank.GitVersioning from your build, but it removes all access to git history and thus allows your builds to succeed in a shallow clone.
88

9+
Note that the environment variable name and value are _case sensitive_.
10+
911
A few caveats with this:
1012

1113
* Version stamps will be incorrect.
@@ -19,7 +21,7 @@ To configure the Copilot Coding Agent to set this environment variable, follow t
1921
1. Select Environments from the list on the left.
2022
1. Select the `copilot` environment. You may have to create this environment yourself if you have not yet assigned the Copilot Coding Agent an issue to work on in your repo.
2123
1. Find the "Environment variables" section.
22-
1. Add an environment variable. Give it the name `NBGV_GitEngine` and the value `Disabled`.
24+
1. Add an environment variable. Give it the name `NBGV_GitEngine` and the value `Disabled`. Note these are _case senstive_.
2325

2426
See also [GitHub Copilot Coding Agent docs](https://docs.github.com/en/copilot/how-tos/use-copilot-agents/coding-agent/customize-the-agent-environment#setting-environment-variables-in-copilots-environment) for setting environment variables.
2527

0 commit comments

Comments
 (0)