Minor: define constants for case of clone
This commit is contained in:
		@@ -49,6 +49,9 @@ void CheckAndFetchCustomerRepositoryCommand::readyReadStandardOutput() {
 | 
			
		||||
            } else
 | 
			
		||||
            if (m_commandResult.contains(internal::GIT_CUSTOMER_REPO_UPDATED)) {
 | 
			
		||||
                //emit w->showCustRepoStatus(internal::GIT_CUSTOMER_REPO_UPDATED);
 | 
			
		||||
            } else
 | 
			
		||||
            if (m_commandResult.contains(internal::GIT_CUSTOMER_REPO_CLONED)) {
 | 
			
		||||
                //emit w->showCustRepoStatus(internal::GIT_CUSTOMER_REPO_CLONED);
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
@@ -35,6 +35,7 @@ namespace internal {
 | 
			
		||||
    static constexpr const int GIT_PULL_ERROR_CODE{-4};
 | 
			
		||||
    static constexpr const int GIT_NOT_NECESSARY_CODE{1};
 | 
			
		||||
    static constexpr const int GIT_UPDATED_CODE{2};
 | 
			
		||||
    static constexpr const int GIT_CLONED_CODE{3};
 | 
			
		||||
 | 
			
		||||
    static constexpr const char *GIT_CUSTOMER_REPO_CHECKOUT_ERROR{"checkout error"};
 | 
			
		||||
    static constexpr const char *GIT_CUSTOMER_REPO_PULL_ERROR{"pull error"};
 | 
			
		||||
@@ -42,6 +43,7 @@ namespace internal {
 | 
			
		||||
    static constexpr const char *GIT_CUSTOMER_REPO_NO_UPDATE_NECESSARY{"no repository update necessary"};
 | 
			
		||||
    static constexpr const char *GIT_CUSTOMER_REPO_NOT_NECESSARY{"not necessary"};
 | 
			
		||||
    static constexpr const char *GIT_CUSTOMER_REPO_UPDATED{"repository updated"};
 | 
			
		||||
    static constexpr const char *GIT_CUSTOMER_REPO_CLONED{"repository cloned"};
 | 
			
		||||
    static constexpr const char *GIT_UPDATED{"updated"};
 | 
			
		||||
 | 
			
		||||
    static constexpr const char *EXEC_OPKG_COMMANDS_SUCCESS{"success"};
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user