fix: update branch current commit

This commit is contained in:
tdurieux
2021-09-06 23:28:58 +02:00
parent 6c668e4f86
commit 470e19c13e

View File

@@ -158,6 +158,7 @@ export default class Repository {
this._model.source.commit = branches.filter(
(f) => f.name == branch.name
)[0]?.commit;
branch.commit = this._model.source.commit;
if (!this._model.source.commit) {
console.error(