Finn Arne Gangstad <finnag@xxxxxxx> writes: > On Mon, Mar 09, 2009 at 05:07:08PM -0700, Junio C Hamano wrote: > ... >> * What's the point of having --current option, when you can already >> say HEAD, i.e. $ git push origin HEAD > > It does something very different. Maybe --tracking would be a better name. > --current does basically this: > ... > The goal here is to be able to: > > git checkout -b junios-next origin/next > git push --current <=> git push origin junios-next:next > > git push origin HEAD would do git push origin junios-next:junios-next, > which was not the intention. Ok, now that sort of makes sense, and is very different from people would expect from --current, which I think most people would associate with HEAD. "tracking" or "track back" would be a better name. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html