diff options
author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | 2008-12-20 01:00:27 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-12-19 19:11:27 -0800 |
commit | 4e46a8d62c551e11e21bd04e059e9ae3cdcfd029 (patch) | |
tree | 8e5fc4e903784cf071b7539efd73304aba2c0f3e /Documentation/git-fast-export.txt | |
parent | 672752470c85c8dc3dd9b49f72063a99f8475b4a (diff) | |
download | git-4e46a8d62c551e11e21bd04e059e9ae3cdcfd029.tar.gz |
fast-export: deal with tag objects that do not have a tagger
When no tagger was found (old Git produced tags like this),
no "tagger" line is printed (but this is incompatible with the current
git fast-import).
Alternatively, you can pass the option --fake-missing-tagger, forcing
fast-export to fake a tagger
Unspecified Tagger <no-tagger>
with a tag date of the beginning of (Unix) time in the case of a missing
tagger, so that fast-import is still able to import the result.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-fast-export.txt')
-rw-r--r-- | Documentation/git-fast-export.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/git-fast-export.txt b/Documentation/git-fast-export.txt index b974e2115b..539decbeb2 100644 --- a/Documentation/git-fast-export.txt +++ b/Documentation/git-fast-export.txt @@ -65,6 +65,12 @@ If the backend uses a similar \--import-marks file, this allows for incremental bidirectional exporting of the repository by keeping the marks the same across runs. +--fake-missing-tagger:: + Some old repositories have tags without a tagger. The + fast-import protocol was pretty strict about that, and did not + allow that. So fake a tagger to be able to fast-import the + output. + EXAMPLES -------- |