From 7b17c17b096b398476ec0974bbe40bcdba535908 Mon Sep 17 00:00:00 2001 From: Mike Fiedler Date: Mon, 5 Mar 2018 09:33:09 -0500 Subject: [PATCH] Add a comparison URL to version In order to make a swift comparison between the currently-installed version vs the latest commits on `master`, emit a clickable URL that will show the user the exact changes. Signed-off-by: Mike Fiedler --- lib/helpers.bash | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/helpers.bash b/lib/helpers.bash index 81f7280b..9693ea1a 100644 --- a/lib/helpers.bash +++ b/lib/helpers.bash @@ -248,6 +248,7 @@ _bash-it-version() { echo "Current git SHA: $BASH_IT_GIT_VERSION_INFO" echo "$BASH_IT_GIT_URL/commit/$BASH_IT_GIT_SHA" + echo "Compare to latest: $BASH_IT_GIT_URL/compare/$BASH_IT_GIT_SHA...master" cd - &> /dev/null || return }