diff options
author | Patrick Steinhardt <psteinhardt@gitlab.com> | 2023-08-30 14:22:45 +0300 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2023-08-30 14:38:39 +0300 |
commit | 77d5d03d4df12c3dacc0cb5a05a74f9abb1cc6ef (patch) | |
tree | 8f78e27909f8b3f4605dd60135be588acd36b578 /internal/git2go | |
parent | 10a46efca33d29ec757c6744b12af54f45461dc1 (diff) |
git2go: Move errors used by UserUpdateSubmodule RPC
The "internal/git2go" package still hosts a bunch of errors which are
used by the UserUpdateSubmodulie RPC and nothing else. Furthermore, two
of the three errors are actually never raised anymore, so there is no
point in handling them.
Move the single error that is still being used over to where its used.
Diffstat (limited to 'internal/git2go')
-rw-r--r-- | internal/git2go/submodule.go | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/internal/git2go/submodule.go b/internal/git2go/submodule.go deleted file mode 100644 index 757fef6a1..000000000 --- a/internal/git2go/submodule.go +++ /dev/null @@ -1,8 +0,0 @@ -package git2go - -// Error strings present in the legacy Ruby implementation -const ( - LegacyErrPrefixInvalidBranch = "Invalid branch" - LegacyErrPrefixInvalidSubmodulePath = "Invalid submodule path" - LegacyErrPrefixFailedCommit = "Failed to create commit" -) |