]> git.wh0rd.org Git - home.git/commitdiff
google stuff
authorMike Frysinger <vapier@gentoo.org>
Mon, 12 Sep 2011 14:07:44 +0000 (10:07 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sat, 28 Apr 2012 19:36:39 +0000 (15:36 -0400)
.bin/r [new file with mode: 0755]
.gitconfig
.ssh/config

diff --git a/.bin/r b/.bin/r
new file mode 100755 (executable)
index 0000000..f973ff8
--- /dev/null
+++ b/.bin/r
@@ -0,0 +1,20 @@
+#!/bin/bash
+g() { git "$@"; }
+cmd=$1
+shift
+acmd=$(git config --get "alias.${cmd}")
+
+case ${acmd} in
+rebase)
+       if [[ $1 == "all" ]] ; then
+               for b in $(g b | awk '{print $NF}') ; do
+                       echo " ### $b"
+                       g co $b || exit 1
+                       r rb || exit 1
+               done
+               exit 0
+       fi
+       ;;
+esac
+
+exec repo ${acmd:-${cmd}} "$@"
index fab891054390d0a9ba5e8fb607e85d2ef0358f4c..982edd3b904ea83d5535f3d2988b46d6214ee04b 100644 (file)
@@ -16,6 +16,7 @@
        default = current
 [alias]
        a    = add
+       ab   = abandon
        b    = branch
        bi   = bisect
        ci   = commit
index 852457ecf9b5e885bc26fdc3ce313bcb23c20aa4..2b36aef4899cdce04c72a975d4ffc216490eae19 100644 (file)
@@ -138,6 +138,22 @@ Host work-ports
 
 
 
+###
+### Google
+###
+Host gerrit.chromium.org
+       IdentityFile ~/.ssh/id_rsa.google
+Host gerrit-int.chromium.org
+       IdentityFile ~/.ssh/id_rsa.google
+
+Host review.source.android.com
+       IdentityFile ~/.ssh/id_rsa.google
+
+Host git.overlays.gentoo.org
+       IdentityFile ~/.ssh/id_rsa.google
+
+
+
 ###
 ### random source systems
 ###