On 23.04.2013 08:45, Ryan Schmidt wrote: > If you want to prevent deletions of lines, install a pre-commit hook that > enforces that rule.
That would be quite hard to enforce, since it's not obvious just from looking at (e.g., diffing) two files which lines were actually deleted by the user. Diff doesn't show that; it tries to show the minimum set of differences between two files. In other words, you'd have to invent a much smarter algorithm with a set of heuristics tailored for your specific editing rules. -- Brane -- Branko Čibej Director of Subversion | WANdisco | www.wandisco.com
