git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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.

Previous: Johannes SchindelinNext: Junio C Hamano
Message 2 of 3 in “What is "-u" supposed to mean in git-fetch?”
  1. Johannes SchindelinJan 26, 2006
  2. Junio C HamanoJan 26, 2006
  3. Junio C HamanoJan 27, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.