|
|
|
@ -1,5 +1,5 @@ |
|
|
|
|
import React, { useEffect, useReducer, useState } from 'react' |
|
|
|
|
import { add, addall, checkout, checkoutfile, clone, commit, createBranch, remoteBranches, repositories, rm, getCommitChanges, diff, resolveRef, getBranchCommits, setUpstreamRemote, getGitHubUser, getBranches, getRemotes, remoteCommits, saveGitHubCredentials, getGitHubCredentials, fetch, pull, push, setDefaultRemote, addRemote, removeRemote, sendToGitLog, clearGitLog, getBranchDifferences } from '../lib/gitactions' |
|
|
|
|
import { add, addall, checkout, checkoutfile, clone, commit, createBranch, remoteBranches, repositories, rm, getCommitChanges, diff, resolveRef, getBranchCommits, setUpstreamRemote, getGitHubUser, getBranches, getRemotes, remoteCommits, saveGitHubCredentials, getGitHubCredentials, fetch, pull, push, setDefaultRemote, addRemote, removeRemote, sendToGitLog, clearGitLog, getBranchDifferences, getFileStatusMatrix } from '../lib/gitactions' |
|
|
|
|
import { loadFiles, setCallBacks } from '../lib/listeners' |
|
|
|
|
import { openDiff, openFile, saveToken, setModifiedDecorator, setPlugin, setUntrackedDecorator, statusChanged } from '../lib/pluginActions' |
|
|
|
|
import { gitActionsContext, pluginActionsContext } from '../state/context' |
|
|
|
@ -111,7 +111,8 @@ export const GitUI = (props: IGitUi) => { |
|
|
|
|
addRemote, |
|
|
|
|
removeRemote, |
|
|
|
|
sendToGitLog, |
|
|
|
|
clearGitLog |
|
|
|
|
clearGitLog, |
|
|
|
|
getFileStatusMatrix |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
const pluginActionsProviderValue = { |
|
|
|
|