1
0
Fork 0
mirror of https://code.forgejo.org/actions/checkout.git synced 2024-11-23 09:54:51 +01:00
This commit is contained in:
Vallie Joseph 2022-12-01 15:52:47 +00:00
parent a9f581070e
commit b99f9d0aba
2 changed files with 2 additions and 0 deletions

1
dist/index.js vendored
View file

@ -7389,6 +7389,7 @@ class GitCommandManager {
return __awaiter(this, void 0, void 0, function* () { return __awaiter(this, void 0, void 0, function* () {
const result = []; const result = [];
const stderr = []; const stderr = [];
core.info(this.gitEnv['GIT_HTTP_USER_AGENT']);
// Note, this implementation uses "rev-parse --symbolic-full-name" because the output from // Note, this implementation uses "rev-parse --symbolic-full-name" because the output from
// "branch --list" is more difficult when in a detached HEAD state. // "branch --list" is more difficult when in a detached HEAD state.
// Note, this implementation uses "rev-parse --symbolic-full-name" because there is a bug // Note, this implementation uses "rev-parse --symbolic-full-name" because there is a bug

View file

@ -94,6 +94,7 @@ class GitCommandManager {
const result: string[] = [] const result: string[] = []
const stderr: string[] = [] const stderr: string[] = []
core.info(this.gitEnv['GIT_HTTP_USER_AGENT'])
// Note, this implementation uses "rev-parse --symbolic-full-name" because the output from // Note, this implementation uses "rev-parse --symbolic-full-name" because the output from
// "branch --list" is more difficult when in a detached HEAD state. // "branch --list" is more difficult when in a detached HEAD state.
// Note, this implementation uses "rev-parse --symbolic-full-name" because there is a bug // Note, this implementation uses "rev-parse --symbolic-full-name" because there is a bug