diff options
author | Michael Muré <batolettre@gmail.com> | 2019-11-19 00:26:38 +0100 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2019-11-19 00:26:38 +0100 |
commit | 0b2a99ab965a1a90e138cc26f12c160a0dac60c2 (patch) | |
tree | b205e9abe9f33fdd6e20f969265d66336182d6e2 | |
parent | fdbff4dba7d6e56edfed1030e6fede2a7a35b507 (diff) | |
download | git-bug-0b2a99ab965a1a90e138cc26f12c160a0dac60c2.tar.gz |
bug: don't forget to assign the new packs after a merge
fix #235
-rw-r--r-- | bug/bug.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 { |