[PATCH 8/9] tip-diff-origin: use git-diff instead of a tempfile and plain diff

From: Uwe Kleine-KÃnig
Date: Thu Dec 03 2009 - 17:27:01 EST


Signed-off-by: Uwe Kleine-KÃnig <u.kleine-koenig@xxxxxxxxxxxxxx>
---
.tip/bin/tip-diff-origin | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/.tip/bin/tip-diff-origin b/.tip/bin/tip-diff-origin
index 465bf33..0108cdc 100755
--- a/.tip/bin/tip-diff-origin
+++ b/.tip/bin/tip-diff-origin
@@ -1,5 +1,3 @@
#! /bin/sh

-git show origin/master:$1 > .tmp
-diff -up $1 .tmp | less
-
+git diff -R origin/master -- "$1"
--
1.6.5.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/