From: Junio C Hamano Date: Thu, 25 Apr 2013 23:19:32 GMT Subject: Re: [PATCH 0/2] "git add -A/--no-all" finishing touches Message-ID: <7v4neu19mj.fsf@alter.siamese.dyndns.org> In-Reply-To: <7vhaiu1a89.fsf@alter.siamese.dyndns.org> Junio C Hamano writes: > One thing I noticed about Jonathan's warn_pathless_add() thing is > that even though it knows for which path we would behave differently > between the current version and Git 2.0, the warning message does > not say which path outside the current directory would be added if > not restricted with an explicit ".", and leaves the reader in > suspense. > > We may want to fix it by tweaking the end of the message, perhaps? Hmph, bad idea. At the point of calling warn_pathless_add(), it seems that we are triggering this for paths that are not necessarily modified when run with "add -n -u".