mirror of
				https://github.com/cmderdev/cmder.git
				synced 2025-10-31 09:22:15 +08:00 
			
		
		
		
	Merge pull request #835 from gpakosz/git-prompt-submodules
Fixed checkGit() in case of submodules
This commit is contained in:
		
							
								
								
									
										2
									
								
								vendor/profile.ps1
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/profile.ps1
									
									
									
									
										vendored
									
									
								
							| @@ -53,7 +53,7 @@ try { | ||||
| } | ||||
|  | ||||
| function checkGit($Path) { | ||||
|     if (Test-Path -Path (Join-Path $Path '.git/') ) { | ||||
|     if (Test-Path -Path (Join-Path $Path '.git') ) { | ||||
|         Write-VcsStatus | ||||
|         return | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user