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