Merge pull request #744 from matthiasbeyer/libimagstorestdhook/git-remove-unused-error-kinds

libimagstorestdhook/git: Remove unused error kinds
This commit is contained in:
Matthias Beyer 2016-09-18 17:19:45 +02:00 committed by GitHub
commit df95338165

View file

@ -9,34 +9,26 @@ generate_error_module!(
ConfigError => "Configuration Error",
NoConfigError => "No Configuration",
ConfigTypeError => "Configuration value type wrong",
RuntimeInformationSetupError => "Couldn't setup runtime information for git hook",
RepositoryBackendError => "Error in the git library",
RepositoryError => "Error while interacting with git repository",
RepositoryBackendError => "Error in the git library",
RepositoryBranchError => "Error while interacting with git branch(es)",
RepositoryBranchNameFetchingError => "Error while fetching branch name",
RepositorySignatureFetchingError => "Error while fetching Authors/Committers signature",
RepositoryIndexFetchingError => "Error while fetching Repository Index",
RepositoryIndexWritingError => "Error while writing Repository Index",
RepositoryPathAddingError => "Error while adding Path to Index",
RepositoryTreeWritingError => "Error while writing repository tree",
RepositoryTreeFindingError => "Error while finding repository tree",
RepositoryCommitFindingError => "Error while finding commit",
RepositoryCommittingError => "Error while committing",
RepositoryHeadFetchingError => "Error while fetching HEAD",
RepositoryHeadTargetFetchingError => "Error while fetching target of HEAD",
RepositoryParentFetchingError => "Error while fetching parent of commit",
HeadFetchError => "Error while getting HEAD",
NotOnBranch => "No Branch is checked out",
MkRepo => "Repository creation error",
MkSignature => "Error while building Signature object",
StoreIdHandlingError => "Error handling the store id object",
StoreIdStripError => "Couldn't strip prefix from StoreID object",
RepositoryFileStatusError => "Error while getting file status",
GitConfigFetchError => "Error fetching git config",
GitConfigEditorFetchError => "Error fetching 'editor' from git config",
CommitEditorInstantiationError => "Error when trying to instantiate commit editor",
EditorError => "Error while calling editor"
);
);