mirror of
				https://github.com/actions/checkout.git
				synced 2025-11-04 13:29:15 +08:00 
			
		
		
		
	.
This commit is contained in:
		
							
								
								
									
										1
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							@@ -7389,6 +7389,7 @@ class GitCommandManager {
 | 
			
		||||
        return __awaiter(this, void 0, void 0, function* () {
 | 
			
		||||
            const result = [];
 | 
			
		||||
            const stderr = [];
 | 
			
		||||
            core.info(this.gitEnv['GIT_HTTP_USER_AGENT']);
 | 
			
		||||
            // Note, this implementation uses "rev-parse --symbolic-full-name" because the output from
 | 
			
		||||
            // "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
 | 
			
		||||
 
 | 
			
		||||
@@ -94,6 +94,7 @@ class GitCommandManager {
 | 
			
		||||
    const result: 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
 | 
			
		||||
    // "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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user