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

cg-mv

From
ZBZack Brown <zbrown@tumblerings.org>
Date
Oct 7, 2005, 14:33 UTC
Message-ID
<20051007143333.GA18843@tumblerings.org>
Hi,

IIRC, file renaming is something we only care about at read time, we don't actually need to track it while making the change, because git allows us to track data from file to file without having to tell it that the data is moving.

So, just to keep certain people happy, why not have the cg-mv command defined to something like this:

#!/bin/bash cp $1 $2 cg-rm $1 cg-add $2

Be well, Zack

-- 
Zack Brown
Next: Petr Baudis
Message 1 of 4 in “cg-mv”
  1. Zack BrownOct 7, 2005
  2. Petr BaudisOct 12, 2005
  3. Josef WeidendorferOct 12, 2005
  4. Zack BrownOct 12, 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.