On Mon, 11 Jun 2007, Alex R.M. Turner wrote:Ok, pushing out remote branches is a bit odd in the first place. As in "you probably shouldn't do that". The "remote" branches are really local to each repo, and updating them by pushing is really quite suspect. So the regular "master" branch pushed out fine: and that part is all ok. However, I think the problem is this: You updated the HEAD file, but that actually is a _symbolic_ ref, which normally points to refs/removes/origin/HEAD, and that in turn explains the other errors: What happened is that the "remotes/origin/master" branch already got updated when you updated HEAD, so now git is complaining that you are trying to update it again, but it no longer has the same value that it had originally (since you changed it). Right. Because the HEAD update really already did all the changes (to _both_ remotes/origin/HEAD _and_ remotes/origin/master, since it was a symref), so next time around there is nothing to push, and you won't see this issue any more. So I don't think there was anything reall bad going on, except for the fact that you really shouldn't try to push out remote branches. What was the command line? In particular, was this a "git push --all" or something? I think we should make sure that we do *not* push remotes by default (and if you really *really* want to push remotes, you'd have to specify them explicitly). Linus - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Linus Torvalds | Linux 2.6.27-rc8 |
| Andi Kleen | [PATCH x86] [2/16] Add a counter for per cpu clocksource watchdog checks and repor... |
| David Miller | Slow DOWN, please!!! |
| Greg KH | Re: [Patch v2] Make PCI extended config space (MMCONFIG) a driver opt-in |
git: | |
| Jeff King | Re: [PATCH] Color support added to git-add--interactive. |
| Yann Dirson | Re: irc usage.. |
| Peter Stahlir | Git as a filesystem |
| Junio C Hamano | Re: [PATCH 3/3] Teach "git branch" about --new-workdir |
| new_guy | Code signing in OpenBSD |
| Jason Dixon | Wasting our Freedom |
| Nick Guenther | Re: Real men don't attack straw men |
| Daniel Ouellet | identifying sparse files and get ride of them trick available? |
| Wolfgang Walter | Re: Kernel oops with 2.6.26, padlock and ipsec: probably problem with fpu state ch... |
| KOSAKI Motohiro | [bug?] tg3: Failed to load firmware "tigon/tg3_tso.bin" |
| Tomasz Grobelny | [PATCH 0/5] [DCCP]: Queuing policies |
| Arjan van de Ven | Re: [GIT]: Networking |
| high memory | 8 hours ago | Linux kernel |
| semaphore access speed | 11 hours ago | Applications and Utilities |
| the kernel how to power off the machine | 12 hours ago | Linux kernel |
| Easter Eggs in windows XP | 15 hours ago | Windows |
| Shared swap partition | 16 hours ago | Linux general |
| Root password | 16 hours ago | Linux general |
| Where/when DNOTIFY is used? | 18 hours ago | Linux kernel |
| How to convert Linux Kernel built-in module into a loadable module | 20 hours ago | Linux kernel |
| Linux 2.6.24 and I/O schedulers | 21 hours ago | Linux kernel |
| USB Driver -- Interrupt Polling -- A Little Help Please | 1 day ago | Linux general |
