aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2019-11-19 00:26:38 +0100
committerMichael Muré <batolettre@gmail.com>2019-11-19 00:26:38 +0100
commit0b2a99ab965a1a90e138cc26f12c160a0dac60c2 (patch)
treeb205e9abe9f33fdd6e20f969265d66336182d6e2
parentfdbff4dba7d6e56edfed1030e6fede2a7a35b507 (diff)
downloadgit-bug-0b2a99ab965a1a90e138cc26f12c160a0dac60c2.tar.gz
bug: don't forget to assign the new packs after a merge
fix #235
-rw-r--r--bug/bug.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/bug/bug.go b/bug/bug.go
index eb0337a4..911961b1 100644
--- a/bug/bug.go
+++ b/bug/bug.go
@@ -592,6 +592,8 @@ func (bug *Bug) Merge(repo repository.Repo, other Interface) (bool, error) {
bug.lastCommit = hash
}
+ bug.packs = newPacks
+
// Update the git ref
err = repo.UpdateRef(bugsRefPattern+bug.id.String(), bug.lastCommit)
if err != nil {