File tree Expand file tree Collapse file tree 1 file changed +0
-25
lines changed Expand file tree Collapse file tree 1 file changed +0
-25
lines changed Original file line number Diff line number Diff line change @@ -57,34 +57,9 @@ async function _handleRepos(git: API, sourceControl: any) {
57
57
*/
58
58
async function _handleRepo ( git : API ) {
59
59
const targetRepo = git . repositories [ 0 ] ;
60
-
61
60
await makeAndFillCommitMsg ( targetRepo ) ;
62
61
}
63
62
64
- async function _autofill ( uri ?: string ) {
65
- const git = getGitExtension ( ) ;
66
-
67
- if ( ! git ) {
68
- vscode . window . showErrorMessage ( "Unable to load Git Extension" ) ;
69
- return ;
70
- }
71
-
72
- if ( git . repositories . length === 0 ) {
73
- vscode . window . showErrorMessage (
74
- "No repos found. Please open a repo or run git init then try this extension again."
75
- ) ;
76
- return ;
77
- }
78
-
79
- vscode . commands . executeCommand ( "workbench.view.scm" ) ;
80
-
81
- if ( uri ) {
82
- _handleRepos ( git , uri ) ;
83
- } else {
84
- _handleRepo ( git ) ;
85
- }
86
- }
87
-
88
63
/**
89
64
* Choose the relevant repo and apply autofill logic on files there.
90
65
*/
You can’t perform that action at this time.
0 commit comments