git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* bug: origin refs updated too soon locally
@ 2007-10-18  1:35 Perry Wagle
  2007-10-18  1:43 ` Perry Wagle
  2007-10-18  4:53 ` Shawn O. Pearce
  0 siblings, 2 replies; 8+ messages in thread
From: Perry Wagle @ 2007-10-18  1:35 UTC (permalink / raw)
  To: git

If I clone a remote repository, make a few commits, push them to the  
remote repository, and the update hook on the remote repository  
rejects them (exit 1), the local origin refs are still updated as if  
the push had gone through.  The workaround is to do a pull to set the  
origin refs back.

-- Perry

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-10-18  6:59 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-18  1:35 bug: origin refs updated too soon locally Perry Wagle
2007-10-18  1:43 ` Perry Wagle
2007-10-18  4:53 ` Shawn O. Pearce
2007-10-18  5:28   ` Jeff King
2007-10-18  6:17   ` [PATCH] t5516: test update of local refs on push Jeff King
2007-10-18  6:21     ` Jeff King
2007-10-18  6:59       ` Shawn O. Pearce
2007-10-18  6:19   ` [PATCH 2/2] send-pack: don't update tracking refs on error Jeff King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).