Re: [PATCH] git-completion: add stashes for gitk
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 14, 2015, 05:18 UTC
- Message-ID
- <xmqqtwxoxil4.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <CANAO8VEUu9erxMLU523vQhg1hyfwVASH-Ng6YGKTN0RiB+H9FQ@mail.gmail.com>
Sveinung Kvilhaugsvik <sveinung84@users.sourceforge.net> writes:
Show 7 quoted lines
>> A bigger question is why this change is made to gitk completion. If
>> this completion were useful for "gitk", wouoldn't it be equally
>> useful for "git log"?
> I must admit that I didn't know that "git log" could display the
> content of a stashed change. After trying "git log -p -m stash@{0}" I
> would say that adding stashes for "git log" would be slightly less
> useful.Yeah, it would not be so useful to dig with "log" beyond the commit that each stash entry is based on. But imagine "git show stash@{....}" or "git log -g stash@{0}"?