Hi,
On Sat, 9 Aug 2008, Pieter de Bie wrote:
> Changing the behaviour to mean "git checkout -b origin/master master"
FWIW I am totally opposed to this kind of reasoning. I consider it sloppy
to make assumptions that might or might not be true, and to force
a change that might be convenient to you, but is likely to hurt others.
Besides, your suggestion completely breaks consistency. If somebody asks
to name a new branch "origin/master" (and "-b origin/master" is _just_
_that_), then it is not Git's job to fix the user's mistake. Just like it
is not Git's job to fix when somebody said "git commit", but meant "git
push".
After all, I might _want_ to create a local branch "origin/master", and
you would just break the valid assumption that "-b origin/master" would do
that for me.
Hth,
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
| Jeremy Allison | Re: [RFC] Heads up on sys_fallocate() |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Joerg Roedel | [PATCH 03/34] AMD IOMMU: add defines and structures for ACPI scanning code |
| Eric W. Biederman | [PATCH] powerpc pseries eeh: Convert to kthread API |
| David Miller | [GIT]: Networking |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Natalie Protasevich | [BUG] New Kernel Bugs |
git: | |
