]> git.madduck.net Git - etc/zsh.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

oldstyle fixes
authormartin f. krafft <madduck@madduck.net>
Fri, 30 Jul 2010 20:33:25 +0000 (22:33 +0200)
committermartin f. krafft <madduck@madduck.net>
Fri, 30 Jul 2010 20:33:25 +0000 (22:33 +0200)
.zsh/func/giturl

index c85674a6d1fc970d894cc3213ca1562101f65c6f..8f6233cb6308b76c655cf0a2e0d34c7eb12e37b1 100755 (executable)
@@ -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