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
Jun 28, 2012, 11:30 UTC
Message-ID
<20120628113057.GA29277@hmsreliant.think-freely.org>
In-Reply-To
<7vr4t079jp.fsf@alter.siamese.dyndns.org>
On Wed, Jun 27, 2012 at 02:02:34PM -0700, Junio C Hamano wrote:
Show 9 quoted lines
> Thanks.
> 
> We recently had a topic to add an option to allow rebase to carry
> empty commits forward, but I notice that it only had tests for the
> component cherry-pick to keep empty or redundant commits, so it may
> not be a bad idea to add tests for that series to the same t3401
> after this commit (Neil Horman CC'ed).
> 
> 

So if I understand correctly, the desire is to augment t3401 such that it adds a test in which both of the commits in the local branch are empty, and still correctly identifies the one that was cherry-picked and only adds the remaining one during the rebase?

Yes, I think that sounds like a good idea. I'm in the middle of an sctp project at the moment, but I expect to complete it in the next few days. I can look into writing this next week if you like.

Thanks & Regards
Neil
 
Previous: Junio C HamanoNext: Neil Horman
Message 3 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.