git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* how to do directory renames in fast-import
@ 2007-07-10  1:09 David Frech
  2007-07-10  3:10 ` [PATCH] Support wholesale " Shawn O. Pearce
  0 siblings, 1 reply; 10+ messages in thread
From: David Frech @ 2007-07-10  1:09 UTC (permalink / raw)
  To: git

Git can track file renames implicitly. If I delete and then add (under
a different name) the same content, git will figure that out.

But if a directory was renamed, I have no way to tell fast-import
about it. I can't delete the directory (using a 'D' command) and then
add it back (with a different name) with all its contents, because my
source material (an svn dump file) doesn't tell me, at that point,
about all the files involved because nothing about them has changed.

fast-import knows about the contents of the directory I want to
rename, but doesn't give me a primitive to do the rename. Is this
something we need to add? My frontend could keep track of this, but I
would duplicating work that fast-import is already doing.

Cheers,

- David

-- 
If I have not seen farther, it is because I have stood in the
footsteps of giants.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2007-07-11 23:11 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-10  1:09 how to do directory renames in fast-import David Frech
2007-07-10  3:10 ` [PATCH] Support wholesale " Shawn O. Pearce
2007-07-10  4:16   ` David Frech
2007-07-10 14:03     ` Uwe Kleine-König
2007-07-10 14:14       ` Shawn O. Pearce
2007-07-10 19:55         ` David Frech
2007-07-11  7:57           ` Shawn O. Pearce
2007-07-11 23:11             ` David Frech
2007-07-10  8:44   ` Rogan Dawes
2007-07-10 13:55     ` Shawn O. Pearce

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).