Thread (11 messages) flat view 11 messages, 4 authors, 2016-06-15

Re: [PATCH] contrib/fast-import: add perl version of simple example

From: Jeff King <hidden>
Date: 2016-06-15 22:43:35

On Tue, Sep 18, 2007 at 12:28:28PM +0200, Andreas Ericsson wrote:
quoted
Yes, please!  Maybe somebody will then grab the low-hanging fruit of 
writing a "git-fast-export", which can be used to dump a complete 
repository in text format?
I thought that was already taken care of since format-patch handles
--root flag properly?

Otherwise, "git repack -a --window=0 --depth=0" should provide an
easily parseable dump of an entire repo.
I think he means a dump that you can meaningfully edit with sed or a
text editor. And even nicer, one that could be fed back into
git-fast-import. So you could do something like:

git-fast-export A..B >dump
vi dump
git-fast-import <dump

to rewrite history in a very flexible way.

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help