update-copyright: accept new option: UPDATE_COPYRIGHT_USE_INTERVALS=2
authorJim Meyering <meyering@redhat.com>
Fri, 27 Jan 2012 09:19:26 +0000 (10:19 +0100)
committerJim Meyering <meyering@redhat.com>
Fri, 27 Jan 2012 09:29:13 +0000 (10:29 +0100)
commit4994b1aab88924f5db960472c2189fa1b46c6778
tree3b57b5cadb6073e974c2d126f77656b9c27d0438
parentb8c5e24996c9626f03890cd986fc1fb7b17fa610
update-copyright: accept new option: UPDATE_COPYRIGHT_USE_INTERVALS=2

* build-aux/update-copyright: When UPDATE_COPYRIGHT_USE_INTERVALS=2,
convert a sequence with gaps to the minimal containing range.
For example, convert 2000, 2004-2007, 2009 to 2000-2009.
* tests/test-update-copyright.sh: Test for this.
The FSF confirmed it is ok to do this, assuming there is at
least one significant change per year in the affected range:
http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/29554/focus=29860
ChangeLog
build-aux/update-copyright
tests/test-update-copyright.sh