git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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}"?

Previous: Sveinung Kvilhaugsvik
Message 5 of 5 in “git-completion: add stashes for gitk”
  1. git-completion: add stashes for gitkSveinung Kvilhaugsvik, Mar 12, 2015
  2. Junio C HamanoMar 12, 2015
  3. Junio C HamanoMar 12, 2015
  4. Sveinung KvilhaugsvikMar 13, 2015
  5. Junio C HamanoMar 14, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.