fix git review to be more sane
author |
Steve Losh <steve@stevelosh.com> |
date |
Mon, 02 Jun 2014 10:43:44 -0700 |
parents |
a73d2867d4e0
|
children |
4e6f3d36c241
|
branches/tags |
(none) |
files |
gitconfig |
Changes
--- a/gitconfig Mon Jun 02 10:37:43 2014 -0700
+++ b/gitconfig Mon Jun 02 10:43:44 2014 -0700
@@ -107,7 +107,7 @@
fuck-up-history-from = pull --rebase
- review = "!sh -c 'git ksreview `echo $1 | sed -Ee \"s_.*pull/([0-9]+)_refs/pull/upstream/\\1_\"`' -"
+ review = "!sh -c 'git fetch upstream && git ksreviewfor `echo $1 | sed -Ee \"s_.*pull/([0-9]+)_refs/pull/upstream/\\1_\"` upstream/master' -"
[push]
default = current