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) {
5757 */
5858async function _handleRepo ( git : API ) {
5959 const targetRepo = git . repositories [ 0 ] ;
60-
6160 await makeAndFillCommitMsg ( targetRepo ) ;
6261}
6362
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-
8863/**
8964 * Choose the relevant repo and apply autofill logic on files there.
9065 */
You can’t perform that action at this time.
0 commit comments