Re: Does git fast-import support deltas?
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Apr 19, 2013, 06:13 UTC
- Message-ID
- <20130419061323.GB5055@elie.Belkin>
- In-Reply-To
- <1095757971.20130419092931@gmail.com>
Hi Ilya,
Ilya Basin wrote:
Show 5 quoted lines
> 1) a created a git repo from a foreign source using git fast-import > 2) new commits were added to the foreign source > > Can I create a fast-import input stream not containing the commits > already existing in my git repo and import it?
Yes, if the foreign source is structured in a way to make it easy. Take a look at the --cat-blob-fd option, the "ls" and "cat-blob" commands, and see svn-fe from contrib/svn-fe/ as an example.
Hope that helps, Jonathan