Hi, On Fri, 8 Feb 2008, Martin Langhoff wrote:So you're saying that the local sides' refs are ancestors of the remote sides' refs? The problem is that the local side cannot tell, and we try to avoid putting load on the server, because in many cases, there will be one central server and many clients. So I think this is not technically feasible. Or do you have another idea how to find out that the "[rejected]" ref is a stale ref (i.e. an ancestor of the remote side) as opposed to properly rejected? Another way to "solve" this issue, of course, is to use the remote layout. I did the switchover myself some time ago; it was hard at first, since I was so used to just check out the branches I just fetched. But in the long run the distinction between local and tracking branches made life much easier for me. Related is this idea that I did not really follow up: often, you want to work on a branch which you are tracking already, but there is no local branch. And most often, you just want to create a local branch of the same name. So maybe we should just introduce a new flag, like $ git checkout -c origin/next which would create (or fast-forward) the local branch "next" to what's in origin/next. The long option would read --create-local. In the same vein, maybe "git branch -d next" should be taught to look at the remote branches of name "<nick>/next", too, when checking if that ref is an ancestor of HEAD? Ciao, Dscho - 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
| Artem Bityutskiy | [PATCH 12/44 take 2] [UBI] allocation unit implementation |
| Greg Kroah-Hartman | [PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO |
| Jeff Garzik | Re: [RFC] Heads up on sys_fallocate() |
| Christoph Hellwig | pcmcia ioctl removal |
git: | |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| David Miller | [GIT]: Networking |
| David Miller | Re: [BUG] New Kernel Bugs |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
