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

Moved files and merges

From
HAH. Peter Anvin <hpa@zytor.com>
Date
Sep 2, 2005, 23:59 UTC
Message-ID
<4318E754.9000703@zytor.com>
I currently have two klibc trees,
rsync://rsync.kernel.org/pub/scm/libs/klibc/klibc.git
and
rsync://rsync.kernel.org/pub/scm/libs/klibc/klibc-kbuild.git

One of the differences between the trees is that a bunch of files have been rearranged. Unfortunately, it seems that whenever I try to merge one into the other, using cg-update from the former branch to the latter, if any of these files have been touched, cg-update fails, and I have to:

- touch these files in the "old location" manually;
- manually apply the change to the new location (and, sad to say, I 
haven't even figured out how to take the numbers cg-update spits out and 
feed them to cg-diff);
- commit.

Is there any way I can record in the repository that these files are actually moved files, and that the merge should apply the patch elsewhere?

Thanks,
	-hpa
Next: Martin Langhoff
Message 1 of 23 in “Moved files and merges”
  1. H. Peter AnvinSep 2, 2005
  2. Martin LanghoffSep 3, 2005
  3. H. Peter AnvinSep 4, 2005
  4. Junio C HamanoSep 3, 2005
  5. Junio C HamanoSep 3, 2005
  6. Fredrik KuivinenSep 3, 2005
  7. Junio C HamanoSep 3, 2005
  8. Junio C HamanoSep 3, 2005
  9. Sam RavnborgSep 3, 2005
  10. Junio C HamanoSep 3, 2005
  11. Sam RavnborgSep 3, 2005
  12. Junio C HamanoSep 4, 2005
  13. Daniel BarkalowSep 4, 2005
  14. Junio C HamanoSep 4, 2005
  15. H. Peter AnvinSep 5, 2005
  16. Linus TorvaldsSep 5, 2005
  17. H. Peter AnvinSep 5, 2005
  18. Junio C HamanoSep 5, 2005
  19. Junio C HamanoSep 5, 2005
  20. H. Peter AnvinSep 5, 2005
  21. Junio C HamanoSep 4, 2005
  22. Fredrik KuivinenSep 3, 2005
  23. Sam RavnborgSep 3, 2005

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.