From: Junio C Hamano Date: Thu, 26 Jan 2006 11:50:33 GMT Subject: Re: What is "-u" supposed to mean in git-fetch? Message-ID: <7voe1zfbsm.fsf@assigned-by-dhcp.cox.net> In-Reply-To: Johannes Schindelin writes: > 96b086d6 introduced "-u" to mean "--upload-pack" taking one argument. But > long ago, b10ac50f1 from Aug 10 already introduced "-u" to mean > "--update-head-ok" (without argument). This broke my scripts badly. > > So, what is it? Ah, I was not careful enough when reviewing. You are right. The newcomer --upload-pack should drop its abbreviation shorter than "--upl". > Also, in the course of researching this, I tried > > git-whatchanged git-fetch-script As in Linus' message, "git whatchanged -- git-fetch-script" is supposed to be the kosher way now, but it does *not* work. I started to suspect that flag/option parsing with rev-parse has outlived its usefulness, at least in whatchanged. It is getting late, so won't have updates from me tonight. Sorry.