Re: What is "-u" supposed to mean in git-fetch?

From: Junio C Hamano <>
Date: 2006-01-26 22:50:33
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.

To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to
More majordomo info at
Received on Thu Jan 26 22:54:17 2006

This archive was generated by hypermail 2.1.8 : 2006-01-26 22:54:25 EST