From 630e225d73f2417de8e491d6b35df4ae5394654a Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Fri, 30 Jul 2010 22:33:25 +0200 Subject: [PATCH] oldstyle fixes --- .zsh/func/giturl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5