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

Re: [PATCH] add test case for rebase of empty commit

From
Neil Horman <nhorman@tuxdriver.com>
Date
Jul 3, 2012, 23:40 UTC
Message-ID
<20120703234048.GA10224@neilslaptop.think-freely.org>
In-Reply-To
<7vpq8ctune.fsf@alter.siamese.dyndns.org>
On Tue, Jul 03, 2012 at 02:13:57PM -0700, Junio C Hamano wrote:
Show 18 quoted lines
> Neil Horman <nhorman@tuxdriver.com> writes:
> 
> > On Tue, Jul 03, 2012 at 12:00:27PM -0700, Junio C Hamano wrote:
> >> 
> >> The changelog might be similar or textually identical, but it is
> >> entirely a different matter if it makes sense taken out of the
> >> context (i.e. cherry-picked).  So I would personally do not bother
> >> "filtering" about them too much---if you ask for empties, you will
> >> get all empties.
> >> 
> > Ok, copy that.
> 
> That was somewhat unexpected, though ;-) It was 30% tongue-in-cheek
> comment.  People who want to keep the empty commits in the history
> may want some filtering. As I am not among them, I do not think of
> anything useful (other than "filter all empty ones away", that is).
> 
> 

I understand what you're saying (for the record, I'm ok with the duplicates, to be fixed up at a later date, as opposed to dropping them all). But the fact remains, theres not obvious differentiator, other than some fuzzy search on the changelog we can use to differentiate empty commits. Let me think about it some more, maybe theres some sort of policy specification we can make regarding the changelog that would let us intellegently filter empty commits appropriately. Best Neil

Previous: Junio C Hamano
Message 8 of 8 in “add test case for rebase of empty commit”
  1. add test case for rebase of empty commitMartin von Zweigbergk, Jun 27, 2012
  2. Junio C HamanoJun 27, 2012
  3. Neil HormanJun 28, 2012
  4. Neil HormanJul 3, 2012
  5. Junio C HamanoJul 3, 2012
  6. Neil HormanJul 3, 2012
  7. Junio C HamanoJul 3, 2012
  8. Neil HormanJul 3, 2012

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.