From: martin f. krafft Date: Fri, 30 Jul 2010 20:33:25 +0000 (+0200) Subject: oldstyle fixes X-Git-Url: https://git.madduck.net/etc/zsh.git/commitdiff_plain/630e225d73f2417de8e491d6b35df4ae5394654a oldstyle fixes --- diff --git a/.zsh/func/giturl b/.zsh/func/giturl index c85674a..8f6233c 100755 --- a/.zsh/func/giturl +++ b/.zsh/func/giturl @@ -52,8 +52,8 @@ case "$oldstyle" in echo "$gitweb_base/?p=$part;a=commitdiff;h=$hash" echo "$gitweb_base/?p=$part;a=tree;h=HEAD" for i in $@; do - [ -f "$i" ] && echo "$gitweb_base/?p=$part;a=blob;h=HEAD;f=$i" - [ -d "$i" ] && echo "$gitweb_base/?p=$part;a=tree;h=HEAD:f=$i" + [ -f "$i" ] && echo "$gitweb_base/?p=$part;a=blob;hb=HEAD;f=$i" + [ -d "$i" ] && echo "$gitweb_base/?p=$part;a=tree;hb=HEAD;f=$i" done ;; esac