Re: How can git pull be up-to-date and git push fail?
- From
Jeff King <peff@peff.net>
- Date
- Apr 7, 2007, 21:32 UTC
- Message-ID
- <20070407213233.GA23234@coredump.intra.peff.net>
- In-Reply-To
- <7vy7l3c1uz.fsf@assigned-by-dhcp.cox.net>
On Sat, Apr 07, 2007 at 02:26:44PM -0700, Junio C Hamano wrote:
Show 9 quoted lines
> Yes, that is exactly why I suggested "git push" without explicit > refspecs to drive the plumbings to push only matching branches. > So if you are worried about breaking backward compatibility for > real men (iow people who use git-send-pack directly), it would > be a less impact change to (1) add --matching-heads option to > send-pack and perhaps http-push, and change their behaviour only > in that case, and (2) pass that option when git-push did not get > explicit refspecs to send from the user, either from the command > line nor from the config.
Ah, I (obviously) didn't pick that up from your original message. Let me rework my patch and see if I can get something more reasonable.
-Peff