From: martin f. krafft Date: Mon, 2 Aug 2010 12:21:53 +0000 (+0200) Subject: print gitweb baseurl too X-Git-Url: https://git.madduck.net/etc/zsh.git/commitdiff_plain/0fd94c58f7e5631f8eaf9c5105b09610c2e25c71?ds=inline;hp=-c print gitweb baseurl too --- 0fd94c58f7e5631f8eaf9c5105b09610c2e25c71 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