Jérôme Jutteau (jerome-jutteau) opened (edited)
Hi!
I am discovering git-bug and I got a strange behavior.
When performing a git bug push I can see new comments but not new bugs.
Here is my script to reproduce the behavior:
#!/bin/bash
set -e
git init a
cd a
touch readme && git add readme && git commit -am "first commit"
git bug user create
git bug add -t "bug from a" -m "desc"
git bug comment add $(git bug ls-id) -m "comment from a"
cd ..
git clone a b
cd b
git bug user create
git bug pull origin
git bug add -t "bug from b" -m "desc"
for id in $(git bug ls-id); do
git bug comment add $id -m "comment from b"
done
git bug push origin
cd ..
cd a
echo "\n\n ------------ we should have two bugs here: -------------" # But only see "bug from a"
git bug ls
for id in $(git bug ls-id); do
echo "\n\n ------------ we should see comments from b: -------------" # Can see "comment from b"
git bug show $id
done
Note that I have two files in a/.git/refs/bugs
Anything I missed?