aboutsummaryrefslogtreecommitdiffstats
path: root/bug/bug.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2020-11-09 00:35:06 +0100
committerMichael Muré <batolettre@gmail.com>2021-02-14 12:17:48 +0100
commit497ec1376ab510af740910ed9c99b159809cf0e8 (patch)
treea57f2443a7ee607319c0765ff9d5ef72e089a932 /bug/bug.go
parent2bf2b2d765c5003307544885b9321b32cc09d8bb (diff)
downloadgit-bug-497ec1376ab510af740910ed9c99b159809cf0e8.tar.gz
bug: debug
Diffstat (limited to 'bug/bug.go')
-rw-r--r--bug/bug.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/bug/bug.go b/bug/bug.go
index e67920f9..86227c6b 100644
--- a/bug/bug.go
+++ b/bug/bug.go
@@ -321,6 +321,8 @@ func (bug *Bug) Validate() error {
// The bug Id should be the id of the first operation
if bug.FirstOp().Id() != bug.id {
+ fmt.Println("bug", bug.id.String())
+ fmt.Println("op", bug.FirstOp().Id().String())
return fmt.Errorf("bug id should be the first commit hash")
}