Re: What is "-u" supposed to mean in git-fetch?
- From
Junio C Hamano <junkio@cox.net>
- Date
- Jan 26, 2006, 11:50 UTC
- Message-ID
- <7voe1zfbsm.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <Pine.LNX.4.63.0601261148510.32499@wbgn013.biozentrum.uni-wuerzburg.de>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
Show 5 quoted lines
> 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.