git-am: -i does not take a string parameter.
[gitweb.git] / git-stash.sh
index def3163ebbb4f88f800b7cf3c7b856f90b5ae73f..9cabd5dc2cdbdd5de98acb3a0c839dfb07a3c9f3 100755 (executable)
@@ -4,6 +4,7 @@
 USAGE='[ | list | show | apply | clear]'
 
 SUBDIRECTORY_OK=Yes
+OPTIONS_SPEC=
 . git-sh-setup
 require_work_tree
 cd_to_toplevel
@@ -110,7 +111,7 @@ show_stash () {
 
        w_commit=$(git rev-parse --verify "$s") &&
        b_commit=$(git rev-parse --verify "$s^") &&
-       git diff-tree $flags $b_commit $w_commit
+       git diff $flags $b_commit $w_commit
 }
 
 apply_stash () {