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

How to split file with its history?

From
KKonstantin <kostix87@gmail.com>
Date
Aug 27, 2019, 10:10 UTC
Message-ID
<CAObSod2jhDjq=Fw2JtNMsK53HxXSf3n6K5XacHQBH00L49mNpQ@mail.gmail.com>

currently we have one code file with deep history. As code file grown it is necessary to split it. but this action will drop history for the new extracted file. how can i split one big code file to small files and save its history for the "blame" action?

-- 
Best regards,
Konstantin K
Next: SZEDER Gábor
Message 1 of 3 in “How to split file with its history?”
  1. KonstantinAug 27, 2019
  2. SZEDER GáborAug 27, 2019
  3. KonstantinAug 27, 2019

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.