Paper bag fix diff invocation in 'git stash show'
In 89d750bf6fa025edeb31ad258cdd09a27a5c02fa I got a little too aggressive with changing "git diff" to "git diff-tree". This is shown to the user, who expects to see a full diff on their console, and will want to see the output of their custom diff drivers (if any) as the whole point of this call site is to show the diff to the end-user. Noticed by Johannes Sixt <j.sixt@viscovery.net>. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Shawn O. Pearce committed
Oct 19, 2007 at 02:18 UTC
e7187e4e0fece6c2947fbceff251f3ce69ae0aa8
1 file changed
+1
-1
git-stash.sh
+1
-1
@@ -110,7 +110,7 @@ show_stash () {
110
111
w_commit=$(git rev-parse --verify "$s") &&
112
b_commit=$(git rev-parse --verify "$s^") &&
113
- git diff-tree $flags $b_commit $w_commit
113
+ git diff $flags $b_commit $w_commit
114
}
115
116
apply_stash () {