fast-import: Add tip about importing renames.
[gitweb.git] / Documentation / git-fast-import.txt
index 843faf79c679344d0120853a258ca7e35358fdca..939ec4652bea90888006adf7fd6860e43c5439ed 100644 (file)
@@ -715,6 +715,13 @@ The branch LRU builtin to fast-import tends to behave very well, and the
 cost of activating an inactive branch is so low that bouncing around
 between branches has virtually no impact on import performance.
 
+Handling Renames
+~~~~~~~~~~~~~~~~
+When importing a renamed file or directory, simply delete the old
+name(s) and modify the new name(s) during the corresponding commit.
+Git performs rename detection after-the-fact, rather than explicitly
+during a commit.
+
 Use Tag Fixup Branches
 ~~~~~~~~~~~~~~~~~~~~~~
 Some other SCM systems let the user create a tag from multiple