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

[bug] Multiline value should error if the next line is section

From
Shulhan <ms@kilabit.info>
Date
May 6, 2018, 19:03 UTC
Message-ID
<20180507020348.31b473b4@kilabit.info>
## Environment
OS: Arch Linux
Git version: git@next d54016d9e
## Reproduction Steps
(1) Create the following `git.config`,
```
[alias]
        tree = --no-pager log --graph \
                --date=format:'%Y-%m-%d' \
                --pretty=format:'%C(auto,dim)%ad %<(7,trunc) %an %Creset%m %h %s %Cgreen%d%Creset' \
                --exclude="*/production" \
                --exclude="*/dev-*" \
                -n 20 \
[user]
        name = Shulhan
        email = ms@kilabit.info
```
(2) Run `git config -f git.config -l`
## Expected Result
Error message,
  fatal: bad config line 9 at git.config
## Actual Result
The command print the following output,

``` alias.tree=--no-pager log --graph --date=format:'%Y-%m-%d' --pretty=format:'%C(auto,dim)%ad %<(7,trunc) %an %Creset%m %h %s %Cgreen%d%Creset' --exclude=*/production --exclude=*/dev-* -n 20 [user] alias.name=Shulhan alias.email=ms@kilabit.info ```

Next: Martin Ågren
Message 1 of 5 in “[bug] Multiline value should error if the next line is section”
  1. ShulhanMay 6, 2018
  2. Martin ÅgrenMay 6, 2018
  3. brian m. carlsonMay 6, 2018
  4. ShulhanMay 6, 2018
  5. SZEDER GáborMay 6, 2018

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.