{"thread":{"id":"18990","subject":"Strange, can't push","startedAt":"2009-04-21T21:21:15Z","lastAt":"2009-04-22T22:11:22Z","messageCount":5,"participants":["John Dlugosz","Jeff King","Kelly F. Hickel"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"111906","messageId":"450196A1AAAE4B42A00A8B27A59278E70ACE04E4@EXCHANGE.trad.tradestation.com","threadId":"18990","inReplyTo":null,"subject":"Strange, can't push","fromName":"John Dlugosz","fromEmail":"jdlugosz@tradestation.com","sentAt":"2009-04-21T21:21:15Z","receivedAt":"2009-04-21T21:21:15Z","isPatch":false,"sender":{"key":"jdlugosz@tradestation.com","avatar":null},"body":"Locally, the view in gitk, after fetching, is that branch B is one\ncommit ahead of remotes/pub/B.  But doing a push doesn't advance it.\nPushing to another label did get it there, under that name.\n\nIs this another \"sorry about msysgit\" thing, or is it something that\nmight happen from time to time that someone might explain to me?\n\nMy work-around is to go to that remote repository and delete and rename\nthe branch from the successful temp I did push.\n\nCould it have something to do with the remote repository not being\n\"bare\"?  Or with the responses being too slow?  \n\n--John\n\nTradeStation Group, Inc. is a publicly-traded holding company (NASDAQ GS: TRAD) of three operating subsidiaries, TradeStation Securities, Inc. (Member NYSE, FINRA, SIPC and NFA), TradeStation Technologies, Inc., a trading software and subscription company, and TradeStation Europe Limited, a United Kingdom, FSA-authorized introducing brokerage firm. None of these companies provides trading or investment advice, recommendations or endorsements of any kind. The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited.\n  If you received this in error, please contact the sender and delete the material from any computer.\n"},{"id":"111955","messageId":"20090422153951.GB12881@coredump.intra.peff.net","threadId":"18990","inReplyTo":"450196A1AAAE4B42A00A8B27A59278E70ACE04E4@EXCHANGE.trad.tradestation.com","subject":"Re: Strange, can't push","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2009-04-22T15:39:51Z","receivedAt":"2009-04-22T15:39:51Z","isPatch":false,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"On Tue, Apr 21, 2009 at 05:21:15PM -0400, John Dlugosz wrote:\n\n> Locally, the view in gitk, after fetching, is that branch B is one\n> commit ahead of remotes/pub/B.  But doing a push doesn't advance it.\n> Pushing to another label did get it there, under that name.\n\nIt's possible that the remote _is_ up-to-date, and your tracking refs\nare simply behind.  Did you try fetching? If so, are you sure your fetch\nrefspec will update the tracking ref appropriately?\n\nThrough what protocol are you pushing? Only the git protocol will\nupdate local tracking refs on push; http will not.\n\nHow are you invoking push? Are you using the remote name, so that it can\nfind the tracking ref (pushing directly to the URL, even if you have a\nremote matching that URL, will not update tracking refs).\n\nFinally, what version of git are you using? Recent versions of send-pack\nwill update tracking refs for pushed _and_ up-to-date refs, but versions\nprior to 1.6.0.4 would only do so for things that actually got pushed.\n\n-Peff\n"},{"id":"112001","messageId":"450196A1AAAE4B42A00A8B27A59278E70ACE0806@EXCHANGE.trad.tradestation.com","threadId":"18990","inReplyTo":"20090422200657.GB14146@coredump.intra.peff.net","subject":"RE: Strange, can't push","fromName":"John Dlugosz","fromEmail":"jdlugosz@tradestation.com","sentAt":"2009-04-22T20:30:22Z","receivedAt":"2009-04-22T20:30:22Z","isPatch":false,"sender":{"key":"jdlugosz@tradestation.com","avatar":null},"body":"> From: Jeff King [mailto:peff@peff.net]\n> Sent: Wednesday, April 22, 2009 3:07 PM\n> To: John Dlugosz\n> Subject: Re: Strange, can't push\n> \n> If that is the case, it is a serious problem that we are failing to\n> record a ref update but not reporting the error. Can you reproduce it?\n> If so, would you mind instrumenting your build with a few stopping\n> points to see where it might be going wrong (I would ask you to strace,\n> but I somehow doubt that is an option on Windows)?\n> \n> -Peff\n\nNo, but after two funny things, I've decided that the first thing to do is back up the directory, so I can study it later.  So next time something funny happens, I'll be better able to reproduce it after putting effort into making it go away.\n\nI have yet to rebuild msysgit myself.  Even so, it's not my normal working environment and I have no idea how to fire up a debugger with it.\n\n--John\n\nTradeStation Group, Inc. is a publicly-traded holding company (NASDAQ GS: TRAD) of three operating subsidiaries, TradeStation Securities, Inc. (Member NYSE, FINRA, SIPC and NFA), TradeStation Technologies, Inc., a trading software and subscription company, and TradeStation Europe Limited, a United Kingdom, FSA-authorized introducing brokerage firm. None of these companies provides trading or investment advice, recommendations or endorsements of any kind. The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.\n"},{"id":"112005","messageId":"63BEA5E623E09F4D92233FB12A9F7943031172A7@emailmn.mqsoftware.com","threadId":"18990","inReplyTo":"450196A1AAAE4B42A00A8B27A59278E70ACE0806@EXCHANGE.trad.tradestation.com","subject":"RE: Strange, can't push","fromName":"Kelly F. Hickel","fromEmail":"kfh@mqsoftware.com","sentAt":"2009-04-22T20:46:10Z","receivedAt":"2009-04-22T20:46:10Z","isPatch":false,"sender":{"key":"kfh@mqsoftware.com","avatar":null},"body":"> From: git-owner@vger.kernel.org [mailto:git-owner@vger.kernel.org] On\n> Behalf Of John Dlugosz\n> Sent: Wednesday, April 22, 2009 3:30 PM\n> To: Jeff King\n> Cc: git@vger.kernel.org\n> Subject: RE: Strange, can't push\n> \n> > From: Jeff King [mailto:peff@peff.net]\n> > Sent: Wednesday, April 22, 2009 3:07 PM\n> > To: John Dlugosz\n> > Subject: Re: Strange, can't push\n> >\n> > If that is the case, it is a serious problem that we are failing to\n> > record a ref update but not reporting the error. Can you reproduce\n> it?\n> > If so, would you mind instrumenting your build with a few stopping\n> > points to see where it might be going wrong (I would ask you to\n> strace,\n> > but I somehow doubt that is an option on Windows)?\n> >\n> > -Peff\n> \n> No, but after two funny things, I've decided that the first thing to do\n> is back up the directory, so I can study it later.  So next time\n> something funny happens, I'll be better able to reproduce it after\n> putting effort into making it go away.\n> \n> I have yet to rebuild msysgit myself.  Even so, it's not my normal\n> working environment and I have no idea how to fire up a debugger with\n> it.\n> \n> --John\n\nFYI, I've had fairly good luck using strace with cygwin executables on windows.  \nNo idea if it works with msysgit though....\n\n-Kellyl\n"},{"id":"112023","messageId":"450196A1AAAE4B42A00A8B27A59278E70ACE0885@EXCHANGE.trad.tradestation.com","threadId":"18990","inReplyTo":"63BEA5E623E09F4D92233FB12A9F7943031172A7@emailmn.mqsoftware.com","subject":"RE: Strange, can't push","fromName":"John Dlugosz","fromEmail":"jdlugosz@tradestation.com","sentAt":"2009-04-22T22:11:22Z","receivedAt":"2009-04-22T22:11:22Z","isPatch":false,"sender":{"key":"jdlugosz@tradestation.com","avatar":null},"body":" \n> FYI, I've had fairly good luck using strace with cygwin executables on\n> windows.\n> No idea if it works with msysgit though....\n> \n\n<--(looking up strace in Wikipedia)\nI think the Windows' tool from Sysinternals called \"Process Monitor\" would do that.\n<http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx>.\n\nTradeStation Group, Inc. is a publicly-traded holding company (NASDAQ GS: TRAD) of three operating subsidiaries, TradeStation Securities, Inc. (Member NYSE, FINRA, SIPC and NFA), TradeStation Technologies, Inc., a trading software and subscription company, and TradeStation Europe Limited, a United Kingdom, FSA-authorized introducing brokerage firm. None of these companies provides trading or investment advice, recommendations or endorsements of any kind. The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.\n"}]}