From 0fd94c58f7e5631f8eaf9c5105b09610c2e25c71 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Mon, 2 Aug 2010 14:21:53 +0200 Subject: [PATCH] print gitweb baseurl too --- .zsh/func/giturl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.zsh/func/giturl b/.zsh/func/giturl index 8f6233c..9f96a5b 100755 --- a/.zsh/func/giturl +++ b/.zsh/func/giturl @@ -41,6 +41,7 @@ hash=$(git rev-parse HEAD) case "$oldstyle" in 0) + echo "$gitweb_base/$part" echo "$gitweb_base/$part/commitdiff/$hash" echo "$gitweb_base/$part/tree/HEAD" for i in $@; do @@ -49,6 +50,7 @@ case "$oldstyle" in done ;; *) + echo "$gitweb_base/?p=$part" echo "$gitweb_base/?p=$part;a=commitdiff;h=$hash" echo "$gitweb_base/?p=$part;a=tree;h=HEAD" for i in $@; do -- 2.39.5