Skip to content

Commit 571afe8

Browse files
committed
Update extension.ts
1 parent e3a7567 commit 571afe8

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/extension.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ async function prepareCommitMsg(repository: Repository) {
3939
return;
4040
}
4141
if (diffIndexLines.length > 1) {
42-
vscode.window.showErrorMessage('This extension only supports working with one changed file');
42+
vscode.window.showErrorMessage(
43+
"This extension only supports working with ONE changed file at a time. Stage just file (or it's old and new path) and try again. Or with no files staged, ensure that is only one file covered under changed files."
44+
);
4345
return;
4446
}
4547

0 commit comments

Comments
 (0)