aboutsummaryrefslogtreecommitdiffstats
path: root/commands/pull.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-09-19 21:45:04 +0200
committerMichael Muré <batolettre@gmail.com>2018-09-19 21:45:52 +0200
commitd57e2fdd1977b9a5d4984d7146e66349001893b3 (patch)
treebc58dcabc197929894c3d88ec2af56385b80e9de /commands/pull.go
parent1060acfd533c30ddcd31e4c0431d36e410e011e9 (diff)
downloadgit-bug-d57e2fdd1977b9a5d4984d7146e66349001893b3.tar.gz
commands: fix a panic on merge invalid
Diffstat (limited to 'commands/pull.go')
-rw-r--r--commands/pull.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/pull.go b/commands/pull.go
index 64dd83fe..73a27d3d 100644
--- a/commands/pull.go
+++ b/commands/pull.go
@@ -42,7 +42,7 @@ func runPull(cmd *cobra.Command, args []string) error {
}
if merge.Status != bug.MergeStatusNothing {
- fmt.Printf("%s: %s\n", merge.Bug.HumanId(), merge)
+ fmt.Printf("%s: %s\n", bug.FormatHumanID(merge.Id), merge)
}
}