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

Re: move directories in work dir

From
RJRogelio M. Serrano Jr. <rogelio@smsglobal.net>
Date
Oct 23, 2005, 06:53 UTC
Message-ID
<5da2f0a458f277e9f6f3155bcef48237@Splinter>
In-Reply-To
<7vzmp04uot.fsf@assigned-by-dhcp.cox.net>
On 2005-10-23 14:24:34 +0800 Junio C Hamano <junkio@cox.net> wrote:
Show 11 quoted lines
> "Rogelio M. Serrano Jr." <rogelio@smsglobal.net> writes:
> 
>> ... is there a way to tell git that i moved a directory into
>> another? For example i have.
> 
> Before you moved them, you could have done [*1*]:
> 
> 	$ mkdir analyze/import_tools
> 	$ git rename analyze/import_a analyze/import_tools/import_a
> 	$ git rename analyze/import_b analyze/import_tools/import_b
> 

thanks i can live with that. i have another subtree with about 20 files in it.

[snipped..]
> 
> BTW, do you really have a file whose name ends with an ESC
> character?
> 
Oh no thats the my mua's editor. its a bug.
[snipped...]
Thanks
Previous: Junio C HamanoNext: Ryan Anderson
Message 3 of 5 in “move directories in work dir”
  1. Rogelio M. Serrano Jr.Oct 23, 2005
  2. Junio C HamanoOct 23, 2005
  3. Rogelio M. Serrano Jr.Oct 23, 2005
  4. Add support for renaming multiple items at once, and for the destination to be a directory.Ryan Anderson, Oct 31, 2005
  5. Peter EriksenOct 31, 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.