Documentation ¶
Index ¶
Constants ¶
View Source
const ( UndoContinueGuidance = "" /* 134-byte string literal not displayed */ ArgumentUnknown = "unknown argument: %q" BranchAlreadyExistsLocally = "there is already a branch %q" BranchAlreadyExistsRemotely = "there is already a branch %q at the \"origin\" remote" BranchCheckoutProblem = "cannot check out branch %q: %w" BranchCurrentProblem = "cannot determine current branch: %w" BranchDeleted = "deleted branch %q" BranchDeletedHasUnmergedChanges = "" /* 197-byte string literal not displayed */ BranchDiffProblem = "cannot determine if branch %q has unmerged commits: %w" BranchDoesntContainCommit = "branch %q does not contain commit %q. Found commits %s" BranchDoesntExist = "there is no branch %q" BranchFeatureCannotCreate = "cannot create feature branch %q: %w" BranchHasWrongSHA = "cannot reset branch %q to %q because it received additional commits in the meantime. It should have SHA %q but has %q" BranchLocalSHAProblem = "cannot determine SHA of local branch %q: %w" BranchLocalProblem = "cannot determine whether the local branch %q exists: %w" BranchParentChanged = "branch %q is now a child of %q" BrowserOpen = "Please open in a browser: %s\n" CacheUnitialized = "using a cached value before initialization" CommandsRun = "Ran %d shell commands." CommitMessageProblem = "cannot determine last commit message: %w" CompletionTypeUnknown = "unknown completion type: %q" ConfigSyncFeatureStrategyUnknown = "unknown sync-feature strategy: %q" ConfigSyncPerennialStrategyUnknown = "unknown sync-perennial strategy: %q" ConfigRemoveError = "unexpected error while removing the 'git-town' section from the Git configuration: %w" ContinueSkipGuidance = "To continue by skipping the current branch, run \"git-town skip\"." DiffConflictWithMain = "conflicts between your uncommmitted changes and the main branch" DryRun = "" /* 250-byte string literal not displayed */ ValueInvalid = "invalid value for %s: %q. Please provide either \"yes\" or \"no\"" ValueGlobalInvalid = "invalid value for global %s: %q. Please provide either \"true\" or \"false\"" ConflictDetectionProblem = "cannot determine conflicts: %w" ContinueNothingToDo = "nothing to continue" ContinueUnresolvedConflicts = "you must resolve the conflicts before continuing" ContinueUntrackedChanges = "please stage or commit the untracked changes first" DialogOptionNotFound = "given initial value %q not in given entries: %s" DialogCannotReadAuthor = "cannot read author from CLI: %w" DialogCannotReadBranch = "cannot read branch from CLI: %w" DialogCannotReadAnswer = "cannot read user answer from CLI: %w" DialogUnexpectedResponse = "unexpected response: %s" DiffParentNoFeatureBranch = "you can only diff-parent feature branches" DiffProblem = "cannot list diff of %q and %q: %w" DirCurrentProblem = "cannot determine the current directory" FileContentInvalidJSON = "cannot parse JSON content of file %q: %w" FileDeleteProblem = "cannot delete file %q: %w" FileReadProblem = "cannot read file %q: %w" FileStatProblem = "cannot check file %q: %w" FileWriteProblem = "cannot write file %q: %w" GitUserProblem = "cannot determine repo author: %w" GitVersionMajorNotNumber = "cannot convert major version %q to int: %w" GitVersionMinorNotNumber = "cannot convert minor version %q to int: %w" GitVersionProblem = "cannot determine Git version: %w" GitVersionUnexpectedOutput = "'git version' returned unexpected output: %q.\nPlease open an issue and supply the output of running 'git version'" GitVersionTooLow = "this app requires Git 2.7.0 or higher" HostingBitBucketNotImplemented = "" /* 190-byte string literal not displayed */ HostingGitlabMergingViaAPI = "GitLab API: Merging MR !%d ... " HostingGitlabUpdateMRViaAPI = "GitLab API: Updating target branch for MR !%d to %q ... " HostingGiteaNotImplemented = "" /* 186-byte string literal not displayed */ HostingGiteaUpdatePRViaAPI = "Gitea API: Updating base branch for PR #%d to #%s" HostingGithubMergingViaAPI = "GitHub API: merging PR #%d ... " HostingGithubUpdatePRViaAPI = "GitHub API: updating base branch for PR #%d ... " HostingServiceUnknown = "unknown hosting service: %q" InputAddOrRemove = `invalid argument %q. Please provide either "add" or "remove"` InputYesOrNo = `invalid argument: %q. Please provide either "yes" or "no".\n` KillBranchOtherWorktree = `branch %q is active in another worktree` KillOnlyFeatureBranches = "you can only kill feature branches" OfflineNotAllowed = "this command requires an active internet connection" OpcodeUnknown = "unknown opcode: %q, run \"git town status reset\" to reset it" OpenChangesProblem = "cannot determine open changes: %w" ProposalMultipleFound = "found %d proposals from branch %q to branch %q" ProposalNoNumberGiven = "no proposal number given" ProposalNotFoundForBranch = "cannot determine proposal for branch %q: %w" ProposalTargetBranchUpdateProblem = "cannot update the target branch of proposal %d via the API" ProposalURLProblem = "cannot determine proposal URL from %q to %q: %w" RebaseProblem = "cannot determine rebase in progress: %w" RemoteExistsProblem = "cannot determine if remote %q exists: %w" RemotesProblem = "cannot determine remotes: %w" RenameBranchNotInSync = "%q is not in sync with its tracking branch, please sync the branches before renaming" RenameMainBranch = "the main branch cannot be renamed" RenamePerennialBranchWarning = "" /* 138-byte string literal not displayed */ RenameToSameName = "cannot rename branch to current name" RepoOutside = "this is not a Git repository" RunAutoUndo = "%s\nAuto-undo... " RunCommandProblem = "error running command %q: %w" RunstateAbortOpcodeProblem = "cannot run the abort opcode: %w" RunstateDeleteProblem = "cannot delete previous run state: %w" RunstateLoadProblem = "cannot load previous run state: %w" RunstateSerializeProblem = "cannot encode run-state: %w" RunstatePathProblem = "cannot determine the runstate file path: %w" RunstateSaveProblem = "cannot save run state: %w" SetParentNoFeatureBranch = "the branch %q is not a feature branch. Only feature branches can have parent branches" ShipAbortedMergeError = "aborted because commit exited with error" ShipBranchOtherWorktree = "branch %q is active in another worktree" ShipBranchNothingToDo = "the branch %q has no shippable changes" ShipNoFeatureBranch = "the branch %q is not a feature branch. Only feature branches can be shipped" ShipOpenChanges = "you have uncommitted changes. Did you mean to commit them before shipping?" ShippableChangesProblem = "cannot determine whether branch %q has shippable changes: %w" SkipBranchHasConflicts = "cannot skip branch that resulted in conflicts" SkipNothingToDo = "nothing to skip" SquashCannotReadFile = "cannot read squash message file %q: %w" SquashCommitAuthorProblem = "error getting squash commit author: %w" SquashMessageProblem = "cannot comment out the squash commit message: %w" SyncStatusNotRecognized = "cannot determine the sync status for Git remote %q and branch name %q" UndoCreateOpcodeProblem = "cannot create undo operations for %q: %w" UndoNothingToDo = "nothing to undo" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.