diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-03-02 23:44:06 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-03-02 23:44:06 +0300 |
commit | 6954ef206343d366c365f5946caa967f92d7bab1 (patch) | |
tree | d27036ef23f5daa823dc4e8e637d5ecde592be63 /Documentation | |
parent | 6b45b8c088f21566cd9cb7839f8421bf616382a2 (diff) | |
parent | 0455ec0330fd29146d6e16189cc9262566cc566d (diff) |
Merge branch 'ac/cvsimport-revision-mapping'
* ac/cvsimport-revision-mapping:
cvsimport: new -R option: generate .git/cvs-revisions mapping
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/git-cvsimport.txt | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/Documentation/git-cvsimport.txt b/Documentation/git-cvsimport.txt index ddfcb3d143..8bcd875a67 100644 --- a/Documentation/git-cvsimport.txt +++ b/Documentation/git-cvsimport.txt @@ -13,7 +13,7 @@ SYNOPSIS [-A <author-conv-file>] [-p <options-for-cvsps>] [-P <file>] [-C <git_repository>] [-z <fuzz>] [-i] [-k] [-u] [-s <subst>] [-a] [-m] [-M <regex>] [-S <regex>] [-L <commitlimit>] - [-r <remote>] [<CVS_module>] + [-r <remote>] [-R] [<CVS_module>] DESCRIPTION @@ -157,6 +157,22 @@ It is not recommended to use this feature if you intend to export changes back to CVS again later with 'git cvsexportcommit'. +-R:: + Generate a `$GIT_DIR/cvs-revisions` file containing a mapping from CVS + revision numbers to newly-created Git commit IDs. The generated file + will contain one line for each (filename, revision) pair imported; + each line will look like ++ +--------- +src/widget.c 1.1 1d862f173cdc7325b6fa6d2ae1cfd61fd1b512b7 +--------- ++ +The revision data is appended to the file if it already exists, for use when +doing incremental imports. ++ +This option may be useful if you have CVS revision numbers stored in commit +messages, bug-tracking systems, email archives, and the like. + -h:: Print a short usage message and exit. |