]> 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:

print gitweb baseurl too
authormartin f. krafft <madduck@madduck.net>
Mon, 2 Aug 2010 12:21:53 +0000 (14:21 +0200)
committermartin f. krafft <madduck@madduck.net>
Mon, 2 Aug 2010 12:21:53 +0000 (14:21 +0200)
.zsh/func/giturl

index 8f6233cb6308b76c655cf0a2e0d34c7eb12e37b1..9f96a5becf71d0e2835b3b08113398ce821f519a 100755 (executable)
@@ -41,6 +41,7 @@ hash=$(git rev-parse HEAD)
 
 case "$oldstyle" in
   0)
 
 case "$oldstyle" in
   0)
+    echo "$gitweb_base/$part"
     echo "$gitweb_base/$part/commitdiff/$hash"
     echo "$gitweb_base/$part/tree/HEAD"
     for i in $@; do
     echo "$gitweb_base/$part/commitdiff/$hash"
     echo "$gitweb_base/$part/tree/HEAD"
     for i in $@; do
@@ -49,6 +50,7 @@ case "$oldstyle" in
     done
     ;;
   *)
     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
     echo "$gitweb_base/?p=$part;a=commitdiff;h=$hash"
     echo "$gitweb_base/?p=$part;a=tree;h=HEAD"
     for i in $@; do