Chop a trailing / of the repository url -> no clean path necessary
This commit is contained in:
		@@ -74,6 +74,11 @@ int main(int argc, char *argv[]) {
 | 
				
			|||||||
    parser.readSettings();
 | 
					    parser.readSettings();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    QString repositoryUrl = parser.repositoryUrl();
 | 
					    QString repositoryUrl = parser.repositoryUrl();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    if (repositoryUrl.endsWith('/')) {
 | 
				
			||||||
 | 
					        repositoryUrl.chop(1);
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    QString gitSSHCommand("");
 | 
					    QString gitSSHCommand("");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (repositoryUrl.contains("ptu-config.atb-comm.de")) {
 | 
					    if (repositoryUrl.contains("ptu-config.atb-comm.de")) {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user