Send commitlog mailing list submissions to
        commitlog@lists.openmoko.org

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.openmoko.org/mailman/listinfo/commitlog
or, via email, send a message with subject or body 'help' to
        commitlog-requ...@lists.openmoko.org

You can reach the person managing the list at
        commitlog-ow...@lists.openmoko.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of commitlog digest..."
Today's Topics:

   1. r4889 - developers/werner/bin (wer...@docs.openmoko.org)
--- Begin Message ---
Author: werner
Date: 2009-01-17 21:39:40 +0100 (Sat, 17 Jan 2009)
New Revision: 4889

Added:
   developers/werner/bin/ggq
Modified:
   developers/werner/bin/gg
Log:
Extended gg to also work with "quilt edit" (through ggq)



Modified: developers/werner/bin/gg
===================================================================
--- developers/werner/bin/gg    2009-01-15 00:21:55 UTC (rev 4888)
+++ developers/werner/bin/gg    2009-01-17 20:39:40 UTC (rev 4889)
@@ -26,4 +26,4 @@
 git grep "$@" | cat
 echo -n '[Enter to vi] '
 read x
-vi -c /"`nondash \"$...@\"`" `git grep -l "$@"`
+${GG_EDITOR:-vi} -c /"`nondash \"$...@\"`" `git grep -l "$@"`

Added: developers/werner/bin/ggq
===================================================================
--- developers/werner/bin/ggq                           (rev 0)
+++ developers/werner/bin/ggq   2009-01-17 20:39:40 UTC (rev 4889)
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+ggq_editor()
+{
+    expr="$2"
+    shift 2
+    EDITOR="vi -c $expr" quilt edit "$@"
+}
+
+GG_EDITOR=ggq_editor
+. gg "$@"


Property changes on: developers/werner/bin/ggq
___________________________________________________________________
Name: svn:executable
   + *




--- End Message ---
_______________________________________________
commitlog mailing list
commitlog@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/commitlog

Reply via email to