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

Re: [PATCH] git-add: warn when adding an ignored file with an explicit request.

From
Jakub Narebski <jnareb@gmail.com>
Date
Dec 25, 2006, 22:24 UTC
Message-ID
<empitl$t6p$1@sea.gmane.org>
In-Reply-To
<7vodprizuw.fsf_-_@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
> We allow otherwise ignored paths to be added to the index by
> spelling its path out on the command line, but we would warn the
> user about them when we do so.

I'm for warning user that the file to be added is ignored file and telling how to make an exception in .gitignore _AND_ that -f option can be used to bypass that check. And adding ignored path as above with -f option.

But otherwise: nice series of patches.
P.S. Were all the patches sent as replies to introductory letter?
-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
Previous: Junio C HamanoNext: Johannes Schindelin
Message 5 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.