From: Shawn O. Pearce Date: Mon, 12 Feb 2007 00:50:50 +0000 (-0500) Subject: fast-import: Add tip about importing renames. X-Git-Tag: v1.5.0~25^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c73461567e5bb32d9dc7ffe2b1cdbf736cb86bfc;p=thirdparty%2Fgit.git fast-import: Add tip about importing renames. Signed-off-by: Shawn O. Pearce --- diff --git a/Documentation/git-fast-import.txt b/Documentation/git-fast-import.txt index 843faf79c6..939ec4652b 100644 --- a/Documentation/git-fast-import.txt +++ b/Documentation/git-fast-import.txt @@ -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