Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
all
Description
My problem scenario: I have an automated process that change some files and it adds those filenames to a file, changed_files.tmp. Then i use svn commit -m "msg" --targets changed_files.tmp (because other modifications not done by automated process should not be committed). Problem: if no files were changed, changed_files.tmp will be empty and all changed files are committed (implicit add of "." if no targets specified). This is scary. Attached patch adds a new option to svn commit: --no-implicit-target. When specified, "." is not added if no other targets specified.
Original issue reported by hardon