refactor(on_push_hook): display the URL to the compare view for pushed commit on push
+ 1
- 1
app/services/gitServer/onPushEvent.ts
@@ -51,7 +51,7 @@ const makeOnPushEvent: ServiceMethodFactory<
         message.write("🖖 See the details of your push at:\n");
         if (data.payload.refType === "head") {
           message.write(
-            `🧲 ${baseUrl}/compare/HEAD%5E%5E..${data.payload.commitId}\n`
+            `🧲 ${baseUrl}/compare/HEAD%5E..${data.payload.commitId}\n`
           );
         } else if (data.payload.refType === "tag") {
           message.write(`➡️ ${baseUrl}/tags/${data.payload.refName}\n`);