Re: Wishlist: git fetch --reference

2014-08-22 Thread Dennis Kaarsemaker
On do, 2014-08-21 at 19:57 -0700, Howard Chu wrote: I maintain multiple copies of the same repo because I keep each one checked out to different branch/rev levels. It would be nice if, similar to clone --reference, we could also use git fetch --reference to reference a local repo when

Wishlist: git fetch --reference

2014-08-21 Thread Howard Chu
I maintain multiple copies of the same repo because I keep each one checked out to different branch/rev levels. It would be nice if, similar to clone --reference, we could also use git fetch --reference to reference a local repo when doing a fetch to pull in updates. -- -- Howard Chu CTO

Re: Wishlist: git fetch --reference

2014-08-21 Thread Howard Chu
Jeff King wrote: On Thu, Aug 21, 2014 at 07:57:47PM -0700, Howard Chu wrote: I maintain multiple copies of the same repo because I keep each one checked out to different branch/rev levels. It would be nice if, similar to clone --reference, we could also use git fetch --reference to reference

git fetch --reference

2013-09-03 Thread Yann Droneaud
Hi, I surprised myself trying to run git fetch --reference local directory remote in the hope git would use my local directory to resolve objects present in remote but not in my current repository ... just like git clone --reference local directory URL: --reference repository

Re: git fetch --reference

2013-09-03 Thread Andreas Schwab
Yann Droneaud ydrone...@opteya.com writes: So what's the best way to do a git fetch remote, copying objects from another local repository to resolve delta ? IMHO the best way is to add a remote for the local repository, fetch from it, then fetch from remote. Andreas. -- Andreas Schwab,