diff --git a/src/git/git.ts b/src/git/git.ts index 9eca893..a5d1f7a 100644 --- a/src/git/git.ts +++ b/src/git/git.ts @@ -61,7 +61,8 @@ const GitWarnings = { foundButNotInRevision: /Path \'.*?\' exists on disk, but not in/i, headNotABranch: /HEAD does not point to a branch/i, noUpstream: /no upstream configured for branch \'(.*?)\'/i, - unknownRevision: /ambiguous argument \'.*?\': unknown revision or path not in the working tree|not stored as a remote-tracking branch/i + unknownRevision: /ambiguous argument \'.*?\': unknown revision or path not in the working tree|not stored as a remote-tracking branch/i, + mustRunInWorkTree: /this operation must be run in a work tree/i }; interface GitCommandOptions extends RunOptions {