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

Re: [PATCH 5/5] git-add: add ignored files when asked explicitly.

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Dec 26, 2006, 22:48 UTC
Message-ID
<Pine.LNX.4.63.0612262348260.19693@wbgn013.biozentrum.uni-wuerzburg.de>
In-Reply-To
<7v1wmmfpfw.fsf@assigned-by-dhcp.cox.net>
Hi,
On Tue, 26 Dec 2006, Junio C Hamano wrote:
Show 17 quoted lines
> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
> 
> >> > Most people do
> >> >
> >> > 	$ git add *.o
> >> >
> >> > instead, where bash expands the expression. Maybe this new behaviour 
> >> > should be hidden between a "-f" option?
> >> 
> >> When would anybody do "git add *.o"?
> >
> > Not exactly "git add *.o", but when I see in git-status that there are 
> > only a couple of files which are untracked, and I want them added, I 
> > lazily do "git add *".
> 
> I changed it to warn and refuse and made it only add under -f
> flag.
Thanks!

Ciao, Dscho

Previous: Junio C HamanoNext: Andreas Ericsson
Message 10 of 11 in “git-add: add ignored files when asked explicitly.”
  1. 5/5 git-add: add ignored files when asked explicitly.Junio C Hamano, Dec 25, 2006
  2. Johannes SchindelinDec 25, 2006
  3. Junio C HamanoDec 25, 2006
  4. git-add: warn when adding an ignored file with an explicit request.Junio C Hamano, Dec 25, 2006
  5. Jakub NarebskiDec 25, 2006
  6. Johannes SchindelinDec 26, 2006
  7. Nicolas PitreDec 25, 2006
  8. Johannes SchindelinDec 26, 2006
  9. Junio C HamanoDec 26, 2006
  10. Johannes SchindelinDec 26, 2006
  11. Andreas EricssonJan 4, 2007

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.