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

Re: [PATCH v3] add --abbrev to 'git cherry'

From
Jeff Epler <jepler@unpythonic.net>
Date
Jun 1, 2009, 11:54 UTC
Message-ID
<20090601115434.GA25837@unpythonic.net>
In-Reply-To
<7v8wkdrqys.fsf@alter.siamese.dyndns.org>
On Sun, May 31, 2009 at 12:51:23PM -0700, Junio C Hamano wrote:
> Stopping here would be a good idea if "log --left-right --cherry-pick A...B"
> (perhaps with a custom --pretty option) covers what you originally wanted
> to do.

Yes, I now see that 'git log' can pretty much do what I want. Having learned of 'git cherry', it didn't cross my mind that 'git log' was set up to do all 'git cherry' did and more.

> But if the reason why you wanted --abbrev was because you wanted to use it
> in your scripted Porcelain, and if the reason why you have your scripted
> Porcelain is because you wanted to add some _other_ information that "log"
> does not give you easily, perhaps it would be a good idea to share _that_.

No, this is all about displaying directly to the user (me) in a pager, specifically about getting as much of the change summary in the first 80 columns as possible.

Jeff
Previous: Stephen Boyd
Message 9 of 9 in “add --abbrev to 'git cherry'”
  1. add --abbrev to 'git cherry'Jeff Epler, May 30, 2009
  2. Markus HeidelbergMay 30, 2009
  3. add --abbrev to 'git cherry'Jeff Epler, May 30, 2009
  4. Stephen BoydMay 30, 2009
  5. Junio C HamanoMay 30, 2009
  6. Markus HeidelbergMay 30, 2009
  7. Junio C HamanoMay 31, 2009
  8. Stephen BoydMay 31, 2009
  9. Jeff EplerJun 1, 2009

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.