Bug? git show behaves incorrectly when called on a stash object
- From
Kirill Likhodedov <kirill.likhodedov@gmail.com>
- Date
- Mar 20, 2013, 15:08 UTC
- Message-ID
- <AF060B6D-27F7-45BE-9BC3-85FAF3487481@gmail.com>
Hi,
I experience difference in behavior between `git stash show stash@{0}` and `git show stash@{0}`:-----------------------------------------------------
# git stash show --name-status stash@{0}
A a
M conflict.js
# git show --name-status stash@{0}
commit 05aa170746dc4e060f10710a92aed4592276f2d4
Merge: 737f544 7c2160f
Author: Kirill Likhodedov <Kirill.Likhodedov@gmail.com>
Date: Wed Mar 20 18:56:28 2013 +0400WIP on master: 737f544 master
MM conflict.js
-----------------------------------------------------
The first gives the correct result, while the second doesn't show the addition. Is it a bug, or I'm just missing something?
Thanks a lot! Kirill.