From c73461567e5bb32d9dc7ffe2b1cdbf736cb86bfc Mon Sep 17 00:00:00 2001 From: "Shawn O. Pearce" Date: Sun, 11 Feb 2007 19:50:50 -0500 Subject: [PATCH] fast-import: Add tip about importing renames. Signed-off-by: Shawn O. Pearce --- Documentation/git-fast-import.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/git-fast-import.txt b/Documentation/git-fast-import.txt index 843faf79c..939ec4652 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 -- 2.30.2