You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Passed down noFetch param to NormalizeGitDirectory method.
2. Updated ArgumentParser to ensure that individual switches such as -nofetch do not interfere with existing functionality.
ArgumentParser should also now support switches with multiple values such as '-myswitch value1 value2' if the validation checks are removed.
//If noFetch is enabled, then GitVersion will assume that the git repository is normalized before execution, so that fetching from remotes is not required.
thrownewWarningException("Failed to find .git directory on agent. Please make sure agent checkout mode is enabled for you VCS roots - http://confluence.jetbrains.com/display/TCD8/VCS+Checkout+Mode");
returnvalue!=null&&(value.StartsWith("-")||value.StartsWith("/"))&&!value.StartsWith("/p:");//Exclude msbuild parameters, which should be parsed as values, not switch names.
0 commit comments