On Sun, Aug 05, 2007 at 01:38:07PM +0200, David Kastrup wrote:By "I believe", I meant "I am pretty sure this is the way it is implemented, but I have better things to do than read through builtin-branch.c right now, so please don't take this as gospel and go read the code yourself." But the point of --track is that I don't _have_ to care, and that it deduces the correct remote/branch combination itself. Really, "origin/something" refers to "refs/remotes/origin/something", which we can deduce from the config to be populated by a particular remote and branch (go read the code). It could, but at that point, you could just do: git-branch newbranch oldbranch git-config branch.newbranch.remote someremote git-config branch.newbranch.merge remotebranch Perhaps it's slightly more convenient to be able to do git-branch --track someremote:remotebranch newbranch oldbranch but the real convenience of --track is when it deduces those parameters itself. -Peff - 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
| Greg Kroah-Hartman | [PATCH 004/196] Chinese: add translation of SubmittingPatches |
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Matt Mackall | Re: [PATCH] x86: fix unconditional arch/x86/kernel/pcspeaker.c compiling |
| James Bottomley | Re: Integration of SCST in the mainstream Linux kernel |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| David Miller | [GIT]: Networking |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Natalie Protasevich | [BUG] New Kernel Bugs |
git: | |
