aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/git-fast-export.txt
diff options
context:
space:
mode:
authorAlexander Gavrilov <angavrilov@gmail.com>2008-07-27 00:52:54 +0400
committerJunio C Hamano <gitster@pobox.com>2008-07-29 23:57:51 -0700
commitae7c5dcef92d46cfc8987fde2c264614fe475bd1 (patch)
tree0db309e33c6b47264c68a0e7685b88bb4bd668a7 /Documentation/git-fast-export.txt
parent6b2fbaaffc5ec762eae5d23b58b1dc0a88e2275e (diff)
downloadgit-ae7c5dcef92d46cfc8987fde2c264614fe475bd1.tar.gz
Support copy and rename detection in fast-export.
Although it does not matter for Git itself, tools that export to systems that explicitly track copies and renames can benefit from such information. This patch makes fast-export output correct action logs when -M or -C are enabled. Signed-off-by: Alexander Gavrilov <angavrilov@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-fast-export.txt')
-rw-r--r--Documentation/git-fast-export.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/git-fast-export.txt b/Documentation/git-fast-export.txt
index 4956964d85..b974e2115b 100644
--- a/Documentation/git-fast-export.txt
+++ b/Documentation/git-fast-export.txt
@@ -36,6 +36,15 @@ when encountering a signed tag. With 'strip', the tags will be made
unsigned, with 'verbatim', they will be silently exported
and with 'warn', they will be exported, but you will see a warning.
+-M::
+-C::
+ Perform move and/or copy detection, as described in the
+ linkgit:git-diff[1] manual page, and use it to generate
+ rename and copy commands in the output dump.
++
+Note that earlier versions of this command did not complain and
+produced incorrect results if you gave these options.
+
--export-marks=<file>::
Dumps the internal marks table to <file> when complete.
Marks are written one per line as `:markid SHA-1`. Only marks