> PS: Would it be acceptable to extend the syntax of -inplace to be similar to
> sed (making backups optional)? Something like this:
> 
>        -inplace[=SUFFIX]
> 
>               edit files in place (makes backup if extension supplied)
> 
> Having git, I'd like to drop them as backups are not needed but they make 'git
> status' a bit messy.

Should I worry that someone out there is relying on the backup 
functionality, and that that person is going to install a new version of 
Coccinelle without looking at the list of changes?

I could print a warning?  Or only have no backup if there is a .git 
directory in the directory provided with the -dir option?  Or make the 
change and hope for the best?

julia
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)

Reply via email to