|
|
@ -79,8 +79,6 @@ export const RemoteBranchDetails = (props: BrancheDetailsProps) => { |
|
|
|
const getCommitChanges = async (commit: ReadCommitResult) => { |
|
|
|
const getCommitChanges = async (commit: ReadCommitResult) => { |
|
|
|
const changes = await actions.getCommitChanges(commit.oid, commit.commit.parent[0], branch, branch.remote) |
|
|
|
const changes = await actions.getCommitChanges(commit.oid, commit.commit.parent[0], branch, branch.remote) |
|
|
|
if (!changes) { |
|
|
|
if (!changes) { |
|
|
|
// try to fetch the data
|
|
|
|
|
|
|
|
//await actions.fetch(branch.remote.name, branch.name,null,20, true, false, true)
|
|
|
|
|
|
|
|
await actions.fetch({ |
|
|
|
await actions.fetch({ |
|
|
|
remote: branch.remote, |
|
|
|
remote: branch.remote, |
|
|
|
ref: branch, |
|
|
|
ref: branch, |
|
|
|