public function notify(Commit $commit)
    {
        try {
            $this->growl->register();

            $name = $commit->isSuccessful()
                ? self::NOTIFY_SUCCESS : self::NOTIFY_FAILURE;
            $notifications = $this->growl->getApplication()->getGrowlNotifications();

            $this->growl->publish(
                $name,
                $commit->getProject()->getName(),
                $this->format($this->format, $commit),
                $notifications[$name]
            );
        } catch (\Net_Growl_Exception $e) {
            return false;
        }

        return true;
    }