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

BUG: config.c:129: kvi should not be set while parsing a config source

From
JKJesse Kasky <jkasky@slack-corp.com>
Date
Jun 21, 2023, 23:45 UTC
Message-ID
<CAJSLrw6qhHj8Kxrqhp7xN=imTHgg79QB9Fxa9XpdZYFnBKhkvA@mail.gmail.com>

Thank you for filling out a Git bug report! Please answer the following questions to help us understand your issue.

What did you do before the bug happened? (Steps to reproduce your issue)

git clone --no-checkout --sparse --filter=blob:none --depth=1 <repo> <dir> cd <dir> git sparse-checkout add <dir1> <dir2> git fetch --depth=1 origin <commit>

What did you expect to happen? (Expected behavior)
Expected the fetch to complete
What happened instead? (Actual behavior)
Received the following error:
BUG: config.c:129: kvi should not be set while parsing a config source
[1]    5842 abort      /opt/homebrew/bin/git fetch --depth=1 origin
What's different between what you expected and what actually happened?
Did not expect to encounter an abort.
Anything else you want to add:

Two items I came across while trying to troubleshoot: https://github.com/git/git/commit/9828453ff00b330c57daa3a8b672cbb5f0cdce34 https://github.com/Homebrew/homebrew-cask-fonts/issues/7718

Please review the rest of the bug report below. You can delete any lines you don't wish to share.

[System Info] git version: git version 2.41.0 cpu: arm64 no commit associated with this build sizeof-long: 8 sizeof-size_t: 8 shell-path: /bin/sh feature: fsmonitor--daemon uname: Darwin 22.5.0 Darwin Kernel Version 22.5.0: Mon Apr 24 20:52:24 PDT 2023; root:xnu-8796.121.2~5/RELEASE_ARM64_T6000 arm64 compiler info: clang: 14.0.3 (clang-1403.0.22.14.1) libc info: no libc information available $SHELL (typically, interactive shell): /bin/zsh

[Enabled Hooks]
Next: Derrick Stolee
Message 1 of 3 in “BUG: config.c:129: kvi should not be set while parsing a config source”
  1. Jesse KaskyJun 21, 2023
  2. Derrick StoleeJun 23, 2023
  3. Glen ChooJun 23, 2023

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.