zshrc: Remove git-get-*()
authorFrank Terbeck <ft@bewatermyfriend.org>
Sat, 19 Jun 2010 19:21:03 +0000 (21:21 +0200)
committerFrank Terbeck <ft@bewatermyfriend.org>
Sat, 19 Jun 2010 19:21:03 +0000 (21:21 +0200)
debian/changelog
etc/zsh/zshrc

index 0700140..3661b79 100644 (file)
@@ -1,3 +1,9 @@
+grml-etc-core (0.3.84) UNRELEASED; urgency=low
+
+  * zshrc: Remove git-get-*() as discussed on IRC.
+
+ -- Frank Terbeck <ft@grml.org>  Sat, 19 Jun 2010 21:19:22 +0200
+
 grml-etc-core (0.3.83) unstable; urgency=low
 
   [ Michael Prokop ]
index 7874e22..bd54c2b 100644 (file)
@@ -3987,50 +3987,6 @@ getair() {
     [[ -x /usr/local/bin/air ]] && [[ -n "$DISPLAY" ]] && $SUDO air
 }
 
-#f5# Get specific git commitdiff
-git-get-diff() {
-    emulate -L zsh
-    if [[ -z $GITTREE ]] ; then
-        GITTREE='linux/kernel/git/torvalds/linux-2.6.git'
-    fi
-    if ! [[ -z $1 ]] ; then
-        ${=BROWSER} "http://kernel.org/git/?p=$GITTREE;a=commitdiff;h=$1"
-    else
-        echo "Usage: git-get-diff <commit>"
-    fi
-}
-
-#f5# Get specific git commit
-git-get-commit() {
-    emulate -L zsh
-    if [[ -z $GITTREE ]] ; then
-        GITTREE='linux/kernel/git/torvalds/linux-2.6.git'
-    fi
-    if ! [[ -z $1 ]] ; then
-        ${=BROWSER} "http://kernel.org/git/?p=$GITTREE;a=commit;h=$1"
-    else
-        echo "Usage: git-get-commit <commit>"
-    fi
-}
-
-#f5# Get specific git diff
-git-get-plaindiff () {
-    emulate -L zsh
-    if [[ -z $GITTREE ]] ; then
-       GITTREE='linux/kernel/git/torvalds/linux-2.6.git'
-    fi
-    if [[ -z $1 ]] ; then
-       echo 'Usage: git-get-plaindiff '
-    else
-       echo -n "Downloading $1.diff ... "
-       # avoid "generating ..." stuff from kernel.org server:
-       wget --quiet "http://kernel.org/git/?p=$GITTREE;a=commitdiff_plain;h=$1" -O /dev/null
-       wget --quiet "http://kernel.org/git/?p=$GITTREE;a=commitdiff_plain;h=$1" -O $1.diff \
-            && echo done || echo failed
-    fi
-}
-
-
 # http://strcat.de/blog/index.php?/archives/335-Software-sauber-deinstallieren...html
 #f5# Log 'make install' output
 mmake() {