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

Re: [PATCH 4/4] p7000: add test for filter-branch with --prune-empty

From
Devin J. Pohly <djpohly@gmail.com>
Date
Mar 3, 2017, 20:34 UTC
Message-ID
<20170303203449.GB4763@prospect.localdomain>
In-Reply-To
<20170303075605.3pqqzmjcqdtv2bjd@sigill.intra.peff.net>
On Fri, Mar 03, 2017 at 02:56:05AM -0500, Jeff King wrote:
Show 11 quoted lines
> On Thu, Feb 23, 2017 at 02:27:36AM -0600, Devin J. Pohly wrote:
> 
> > +test_perf 'noop prune-empty' '
> > +	git checkout --detach tip &&
> > +	git filter-branch -f --prune-empty base..HEAD
> > +'
> 
> I don't mind adding this, but of curiosity, does it show anything
> interesting?
> 
> -Peff

Nothing surprising; the overhead for the change was minimal. I wasn't sure what the practice is for adding unit/perf tests, so I erred on the side of covering everything.

I will leave this as the last commit in the series so that it can be dropped or merged as you see fit.

-- 
<><
Previous: Jeff King
Message 15 of 15 in “t7003: ensure --prune-empty can prune root commit”
  1. 1/4 t7003: ensure --prune-empty can prune root commitDevin J. Pohly, Feb 23, 2017
  2. 2/4 t7003: ensure --prune-empty removes entire branch when applicableDevin J. Pohly, Feb 23, 2017
  3. 3/4 filter-branch: fix --prune-empty on parentless commitsDevin J. Pohly, Feb 23, 2017
  4. Junio C HamanoFeb 23, 2017
  5. Devin J. PohlyFeb 23, 2017
  6. Junio C HamanoMar 2, 2017
  7. Devin J. PohlyMar 2, 2017
  8. Junio C HamanoMar 2, 2017
  9. Jacob KellerMar 2, 2017
  10. Jeff KingMar 3, 2017
  11. Devin J. PohlyMar 3, 2017
  12. Junio C HamanoMar 3, 2017
  13. 4/4 p7000: add test for filter-branch with --prune-emptyDevin J. Pohly, Feb 23, 2017
  14. Jeff KingMar 3, 2017
  15. Devin J. PohlyMar 3, 2017

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.