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

FETCH_HEAD format is undocumented

From
Philippe Blain <levraiphilippeblain@gmail.com>
Date
Nov 16, 2020, 17:13 UTC
Message-ID
<218FCFFA-1F4F-42DE-B32D-D7C731813206@gmail.com>
Hi,

While trying to use `git fmt-merge-msg`, I figured it only accepts inputs in the format used in the 'FETCH_HEAD' file.

I then tried to find a description of the format of this file in the documentation, but could not find any. For example, 'git grep not-for-merge' in /Documentation returns a single hit, in the release notes for Git 2.5.0.

I think it could be good if we documented the FETCH_HEAD format.
Cheers,
Philippe.
Next: Junio C Hamano
Message 1 of 2 in “FETCH_HEAD format is undocumented”
  1. Philippe BlainNov 16, 2020
  2. Junio C HamanoNov 16, 2020

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.