diff options
author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | 2007-12-02 14:14:13 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-12-02 19:22:12 -0800 |
commit | f2dc849e9c5fe363ad089f6c3f2b7b3d79fd6a6f (patch) | |
tree | 99e588cda070220d0db437020c08bc17497d1f94 /git.c | |
parent | d25430c5f88c7e7b4ce24c1b08e409f4345c4eb9 (diff) | |
download | git-f2dc849e9c5fe363ad089f6c3f2b7b3d79fd6a6f.tar.gz |
Add 'git fast-export', the sister of 'git fast-import'
This program dumps (parts of) a git repository in the format that
fast-import understands.
For clarity's sake, it does not use the 'inline' method of specifying
blobs in the commits, but builds the blobs before building the commits.
Since signed tags' signatures will not necessarily be valid (think
transformations after the export, or excluding revisions, changing
the history), there are 4 modes to handle them: abort (default),
ignore, warn and strip. The latter just turns the tags into
unsigned ones.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git.c')
-rw-r--r-- | git.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -302,6 +302,7 @@ static void handle_internal_command(int argc, const char **argv) { "diff-files", cmd_diff_files }, { "diff-index", cmd_diff_index, RUN_SETUP }, { "diff-tree", cmd_diff_tree, RUN_SETUP }, + { "fast-export", cmd_fast_export, RUN_SETUP }, { "fetch", cmd_fetch, RUN_SETUP }, { "fetch-pack", cmd_fetch_pack, RUN_SETUP }, { "fetch--tool", cmd_fetch__tool, RUN_SETUP }, |