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

gc/repack has no option to lose grafted parents

From
Martin Langhoff <martin.langhoff@gmail.com>
Date
Mar 6, 2014, 23:07 UTC
Message-ID
<CACPiFCLqa=ZQM6Azh2G5hwBCMx96Cxa5BMN=-2aCy5x=YhBpGg@mail.gmail.com>

Back in http://git.661346.n2.nabble.com/PATCH-0-2-Make-git-gc-more-robust-with-regard-to-grafts-td3310281.html we got gc/repack to be safer for users who might be shooting themselves in the foot.

Would a patch be welcome to add --discard-grafted-objects ? or --keep-real-parents=idontthinkso ?

cheers,
m
-- 
 martin.langhoff@gmail.com
 -  ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 ~ http://docs.moodle.org/en/User:Martin_Langhoff
Next: Junio C Hamano
Message 1 of 4 in “gc/repack has no option to lose grafted parents”
  1. Martin LanghoffMar 6, 2014
  2. Junio C HamanoMar 6, 2014
  3. Martin LanghoffMar 6, 2014
  4. Duy NguyenMar 7, 2014

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.