]> git.donarmstrong.com Git - zsh.git/blobdiff - .zsh/func/giturl
print gitweb baseurl too
[zsh.git] / .zsh / func / giturl
index 8f6233cb6308b76c655cf0a2e0d34c7eb12e37b1..9f96a5becf71d0e2835b3b08113398ce821f519a 100755 (executable)
@@ -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