jc/add-2.0-delete-default (Re: What's cooking in git.git (Apr 2013, #05; Mon, 15))

2013-04-21 Thread Jonathan Nieder
On Fri, Apr 19, 2013 at 10:25:46AM -0700, Junio C Hamano wrote: Junio C Hamano wrote: You ran 'git add' with neither '-A (--all)' or '--no-all', whose behaviour will change in Git 2.0 with respect to paths you removed from your working tree. * 'git add --no-all pathspec',

Re: jc/add-2.0-delete-default (Re: What's cooking in git.git (Apr 2013, #05; Mon, 15))

2013-04-21 Thread Junio C Hamano
Jonathan Nieder jrnie...@gmail.com writes: How about something like this? warning: git add run on path with files removed (e.g., '%s') hint: use git add --ignore-removals pathspec to ignore removals hint: or git add --no-ignore-removals pathspec to notice them hint:

Re: jc/add-2.0-delete-default (Re: What's cooking in git.git (Apr 2013, #05; Mon, 15))

2013-04-21 Thread Junio C Hamano
Junio C Hamano gits...@pobox.com writes: Then the --ignore-removals option could be added using a patch like the following. adding ignore-removals as a synonym (and keeping it) would be a good idea. We would still need to carry --all and --no-all that have been with us ever since we added