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

[PATCH 0/2] Specify generation number version by config

From
Derrick Stolee via GitGitGadget <gitgitgadget@gmail.com>
Date
Feb 25, 2021, 18:19 UTC
Message-ID
<pull.886.git.1614277183.gitgitgadget@gmail.com>
This is based on ds/chunked-file-api.

Generation number v2 (corrected commit dates) was introduced by ak/corrected-commit-date. The new data could be opted-out only using the GIT_TEST_COMMIT_GRAPH_NO_GDAT environment variable.

As this feature gets deployed more widely, servers in particular might want more control over when this format is used. Add a config option instead.

Thanks, -Stolee
Derrick Stolee (2):
  commit-graph: create local repository pointer
  commit-graph: use config to specify generation type
 Documentation/config/commitgraph.txt |  6 ++++++
 commit-graph.c                       | 31 ++++++++++++++++++----------
 commit-graph.h                       |  1 -
 t/README                             |  3 ---
 t/t5318-commit-graph.sh              |  2 +-
 t/t5324-split-commit-graph.sh        |  4 ++--
 t/t6600-test-reach.sh                |  2 +-
 7 files changed, 30 insertions(+), 19 deletions(-)
base-commit: c4ff24bbb354377a6a7937744fbbef2898243fc7
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-886%2Fderrickstolee%2Fcommit-graph-generation-config-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-886/derrickstolee/commit-graph-generation-config-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/886
-- 
gitgitgadget
Next: Derrick Stolee via GitGitGadget
Message 1 of 3 in “Specify generation number version by config”
  1. 0/2 Specify generation number version by configDerrick Stolee via GitGitGadget, Feb 25, 2021
  2. 1/2 commit-graph: create local repository pointerDerrick Stolee via GitGitGadget, Feb 25, 2021
  3. 2/2 commit-graph: use config to specify generation typeDerrick Stolee via GitGitGadget, Feb 25, 2021

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.