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 loca

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 a

Re: Wishlist: git fetch --reference

2014-08-21 Thread Jeff King
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 a loc

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: git fetch --reference

2013-09-03 Thread Andreas Schwab
Yann Droneaud writes: > So what's the best way to do a git fetch , 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 . Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fin

git fetch --reference

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