summaryrefslogtreecommitdiff
path: root/git-am.sh
diff options
context:
space:
mode:
authorLibravatar Shawn O. Pearce <spearce@spearce.org>2007-02-08 15:26:01 -0500
committerLibravatar Shawn O. Pearce <spearce@spearce.org>2007-02-08 15:37:53 -0500
commit590dd4bfd25b3c7592004258384f7541d9315712 (patch)
tree374162435b4d4c941b6b8b0b3ab951534537aedf /git-am.sh
parentCorrect spelling of fast-import in docs. (diff)
downloadtgif-590dd4bfd25b3c7592004258384f7541d9315712.tar.xz
tar archive frontend for fast-import.
This is an example fast-import frontend, in less than 100 lines of Perl. It accepts one or more tar archives on the command line, passes them through gzcat/bzcat/zcat if necessary, parses out the individual file headers and feeds all contained data to fast-import. No temporary files are involved. Each tar is treated as one commit, with the commit timestamp coming from the oldest file modification date found within the tar. Each tar is also tagged with an annotated tag, using the basename of the tar file as the name of the tag. Currently symbolic links and hard links are not handled by the importer. The file checksums are also not verified. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'git-am.sh')
0 files changed, 0 insertions, 0 deletions