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

Re: [PATCH 1/2] Add a test showing that 'git repack' throws away grafted-away parents

From
Björn Steinbrink <b.steinbrink@gmx.de>
Date
Jul 23, 2009, 16:09 UTC
Message-ID
<20090723160951.GA12855@atjola.homenet>
In-Reply-To
<alpine.DEB.1.00.0907231733300.8306@pacific.mpi-cbg.de>
On 2009.07.23 17:33:45 +0200, Johannes Schindelin wrote:
> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Björn Steinbrink <B.Steinbrink@gmx.de>
Show 6 quoted lines
> ---
> 
> 	Bjoern said that the reflogs are not thrown away if there is no 
> 	"sleep 1" (which I turned into "test-chmtime -1 .git/logs/HEAD
> 	.git/logs/refs/heads/master" only to delete it as things worked 
> 	here without it).

My original version of the test lacked the test_tick, with it, the test works without "sleep 1" for me, too.

Björn
Previous: Johannes SchindelinNext: Johannes Schindelin
Message 3 of 10 in “Make git-gc more robust with regard to grafts”
  1. 0/2 Make git-gc more robust with regard to graftsJohannes Schindelin, Jul 23, 2009
  2. 1/2 Add a test showing that 'git repack' throws away grafted-away parentsJohannes Schindelin, Jul 23, 2009
  3. Björn SteinbrinkJul 23, 2009
  4. 2/2 git repack: keep commits hidden by a graftJohannes Schindelin, Jul 23, 2009
  5. Junio C HamanoJul 24, 2009
  6. Johannes SchindelinJul 24, 2009
  7. Junio C HamanoJul 24, 2009
  8. Björn SteinbrinkJul 24, 2009
  9. Johannes SchindelinJul 24, 2009
  10. Junio C HamanoJul 24, 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.