Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2007-07-10 06:58:23 +0400
committerShawn O. Pearce <spearce@spearce.org>2007-07-10 07:06:16 +0400
commitf39a946a1fb0fa4856cd0027b9da3603a1b06fdc (patch)
tree0a2dd51b906ef674ac94b08cfe85506da9cb7c12 /builtin-rerere.c
parent11a264050f61bb15c413cced058db2ac96fd96f9 (diff)
Support wholesale directory renames in fast-import
Some source material (e.g. Subversion dump files) perform directory renames without telling us exactly which files in that subdirectory were moved. This makes it hard for a frontend to convert such data formats to a fast-import stream, as all the frontend has on hand is "Rename a/ to b/" with no details about what files are in a/, unless the frontend also kept track of all files. The new 'R' subcommand within a commit allows the frontend to rename either a file or an entire subdirectory, without needing to know the object's SHA-1 or the specific files contained within it. The rename is performed as efficiently as possible internally, making it cheaper than a 'D'/'M' pair for a file rename. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'builtin-rerere.c')
0 files changed, 0 insertions, 0 deletions