Carl Worth <cworth@cworth.org> wrote:This is actually read more as: 1) Expand "master" to "refs/heads/master" 2) Expand "refs/heads/master" to "refs/heads/master:refs/heads/master" We first try to expand the local name to an "absolute" local name, then if the remote name is missing default it to the same as the (now expanded) local name. So "push origin master" is not read as "push origin refs/haeds/master:master". How about: git config alias.incoming 'log ..FETCH_HEAD' ? Or do we need --reverse in there too to simulate "hg incoming"? The thing is, FETCH_HEAD is a lot more powerful than a tracking branch. It can contain objects randomly pulled from another repository (e.g. one shot pulls). Agreed. We do that in fetch. We should do that in push. We should only mention "refs/*" if the user is pushing something funny, e.g. pushing into the remote tracking branch space. Or the stash. Etc. Tags and normal branches should be denoted as such. -- Shawn. - 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
| Stephane Jourdois | Re: 2.6.21-rc4-mm1 [PATCH] init/missing_syscalls.h fix |
| David Brown | Re: Linux 2.6.21-rc2 |
| Andi Kleen | [PATCH] [1/12] x86: Work around mmio config space quirk on AMD Fam10h |
| david | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| David Miller | Re: [GIT]: Networking |
| David Woodhouse | Re: [bug?] tg3: Failed to load firmware "tigon/tg3_tso.bin" |
| Gerrit Renker | [PATCH 15/37] dccp: Set per-connection CCIDs via socket options |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
git: | |
