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

Splitting files merge with branches

From
Javier Domingo <javierdo1@gmail.com>
Date
Nov 5, 2013, 09:38 UTC
Message-ID
<CALZVapmJDEWyUcgdJ0C0V0bKpSyukHZ=ei9GgVh-Z0yfb8x8tQ@mail.gmail.com>
Hi,

I have been using git for now 4 years, and one feature I miss a lot, that would increase the usability of git in many cases, would be having it detect "inter-file" movements, so that if I, in a single commit just part one file into many, git can track that change.

I suppose this is quite difficult, as would mean having extra features in diffs, and I don't know how could it be implemented, but that would ease even more having integration branches, and merging one with eachother.

I wouldn't either know how to split it, in the means that if 5 lines are in the middle of a split, where would those lines go? But as you have resolved quite variety of problems, you might now a way.

Just wanted to collaborate with my idea =)
Cheers,
Javier Domingo Cansino
Next: Junio C Hamano
Message 1 of 2 in “Splitting files merge with branches”
  1. Javier DomingoNov 5, 2013
  2. Junio C HamanoNov 5, 2013

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.