On Wednesday, February 7, 2007 at 16:48:42 (-0800) Junio C Hamano writes:This I understand, and can follow. Sorry, but there my comprehension stops. Lots of confusion and befuddlement follow. Thank you in advance for being patient. This I don't quite understand. So, if it is on the LHS, it is ok? But, if it is ALSO on the RHS it is not? So, this: Pull: refs/heads/topic:refs/heads/topic really means don't don't work on a branch named topic in this repository? I assume by "build on" you mean "work, compile, check stuff in, etc."?. Did you have something else in mind when you said "build on"? I don't currently have any 'refs/remotes' of any sort, so I guess you mean that the new principle, using git clone --use-separate-remote will effect this. So, using 1.4.4 series, or 1.5, the "sane" way to work in git is to use clone --use-separate-remotes. I assume by this you mean that if I do the separate remote trick, I will not shoot myself by doing a 'git pull' while on my topic branch, as the setup will cause git to refuse to do it. Ok, so if I am on master, I do this: [master] % git pull and this will fetch the remote master and merge it to my master, and fetch the remote topic and merge it to my local topic. While, if I am on my topic branch, if I do this: [topic] % git pull it sill fetches from the remote master and the remote topic, but will not merge at all. Could you verify if I have stated your position correctly? If I am, this still seems bizarre. I really just want a way to sync two repos that works consistently, and is invoked consistently, no matter what branch I am currently on. And, again, by "sync", I just mean no cross-branch merging --- no "crossing of the streams". Even if it were limited to syncing the current branch only, that would be ok, but this variable behavior seems rather odd and confusing. In other words, I just want to type the equivalent of 'git sync' and have it work, and not have to give a branch name, or be in the "right place" for it to work as I expect. Thus, I don't want to have to think "oh, I'm on my topic branch, and if I really want to sync from my remote repo, I need to get on my master branch". It seems that the only difference in the "insane" way I was doing things and the "sane" way you propose is that in my way, I had to make this mental leap or get burned by a cross-branch merge, but in the new way, I still have to make this mental leap if I want it to work, but if I don't, at least I don't get burned. Bill - 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
| David Miller | Slow DOWN, please!!! |
| KAMEZAWA Hiroyuki | Re: 2.6.22-rc1-mm1 |
| Steven Rostedt | [RFC PATCH 1/3] Unified trace buffer |
| Steven Rostedt | [RFC PATCH 0/6] Convert all tasklets to workqueues |
git: | |
| Peter Klavins | Re: CRLF problems with Git on Win32 |
| J. Bruce Fields | Re: Git User's Survey 2007 unfinished summary continued |
| Linus Torvalds | Re: VCS comparison table |
| Junichi Uekawa | Re: [ANNOUNCE] GIT 1.5.4 |
| Arjan van de Ven | Re: [GIT]: Networking |
| Rémi | [PATCH 0/6] [RFC] Phonet pipes protocol (v2) |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Jozsef Kadlecsik | Re: TCP connection stalls under 2.6.24.7 |
| Richard Stallman | Real men don't attack straw men |
| Rogier Krieger | Re: bcw(4) is gone |
| Leon Dippenaar | New tcp stack attack |
| Brandon Lee | DELL PERC 5iR slow performance |
| high memory | 6 hours ago | Linux kernel |
| semaphore access speed | 9 hours ago | Applications and Utilities |
| the kernel how to power off the machine | 10 hours ago | Linux kernel |
| Easter Eggs in windows XP | 13 hours ago | Windows |
| Shared swap partition | 14 hours ago | Linux general |
| Root password | 14 hours ago | Linux general |
| Where/when DNOTIFY is used? | 16 hours ago | Linux kernel |
| How to convert Linux Kernel built-in module into a loadable module | 18 hours ago | Linux kernel |
| Linux 2.6.24 and I/O schedulers | 18 hours ago | Linux kernel |
| USB Driver -- Interrupt Polling -- A Little Help Please | 1 day ago | Linux general |
