From: Junio C Hamano <hidden> Date: 2016-06-15 22:42:04
After you deleted files from your working tree, automatic
git-update-cache used when the "--all" flag is given to "git
commit" barfs because it lacks the --remove flag.
It can be argued that this is a feature; people should be
careful and something with a grave consequence like removing
files should be done manually, in which case the current
behaviour may be OK.
The patch is for people who thinks the user who uses the "--all"
flag deserves the danger that comes with the convenience.
Comments?
Signed-off-by: Junio C Hamano <redacted>
---
From: Johannes Schindelin <hidden> Date: 2016-06-15 22:42:04
Hi,
On Thu, 18 Aug 2005, Junio C Hamano wrote:
After you deleted files from your working tree, automatic
git-update-cache used when the "--all" flag is given to "git
commit" barfs because it lacks the --remove flag.
It can be argued that this is a feature; people should be
careful and something with a grave consequence like removing
files should be done manually, in which case the current
behaviour may be OK.
The patch is for people who thinks the user who uses the "--all"
flag deserves the danger that comes with the convenience.
Comments?
This is a sane default behaviour. Maybe introduce yet another flag
"--no-remove", which says that removes should not be performed? But then,
"--all" is mostly used by lazy people, who probably expect the removes to
take place.
Ciao,
Dscho
From: Junio C Hamano <hidden> Date: 2016-06-15 22:42:04
Johannes Schindelin [off-list ref] writes:
quoted
The patch is for people who thinks the user who uses the "--all"
flag deserves the danger that comes with the convenience.
Comments?
This is a sane default behaviour. Maybe introduce yet another flag
"--no-remove", which says that removes should not be performed? But then,
"--all" is mostly used by lazy people, who probably expect the removes to
take place.
From: Johannes Schindelin <hidden> Date: 2016-06-15 22:42:04
Hi,
On Thu, 18 Aug 2005, Junio C Hamano wrote:
Johannes Schindelin [off-list ref] writes:
quoted
quoted
The patch is for people who thinks the user who uses the "--all"
flag deserves the danger that comes with the convenience.
Comments?
This is a sane default behaviour. Maybe introduce yet another flag
"--no-remove", which says that removes should not be performed? But then,
"--all" is mostly used by lazy people, who probably expect the removes to
take place.