Hello Gnulibers.

Currently, the `gitlog-to-changelog' script clusters ChangeLog entries with
the same date together, placing them under a single "date line" in the
generated output.

So we have something like this:


  $ ./build-aux/gitlog-to-changelog -- -n 2 76d222b

  2011-12-22  Jim Meyering  <meyer...@redhat.com>

        correct previous ChangeLog entry: s/set -x/set -e/
        Spotted by Stefano Lattarini.

        init.sh: avoid unwarranted test failure when using "set -x"
        * tests/init.sh (compare): Ignore nonzero exit from compare_dev_null_.
        Otherwise, in a test script that uses "set -x" (like many in vc-dwim)
        a use like "compare exp out" would get evoke an unconditional failure.


where I'd like to see something like this instead:


 $ ./build-aux/gitlog-to-changelog -- -n 2 76d222b

 2011-12-22  Jim Meyering  <meyer...@redhat.com>

        correct previous ChangeLog entry: s/set -x/set -e/
        Spotted by Stefano Lattarini.

 2011-12-22  Jim Meyering  <meyer...@redhat.com>

        init.sh: avoid unwarranted test failure when using "set -x"
        * tests/init.sh (compare): Ignore nonzero exit from compare_dev_null_.
        Otherwise, in a test script that uses "set -x" (like many in vc-dwim)
        a use like "compare exp out" would get evoke an unconditional failure.


This latter format would match the current practice used in the Automake
hand-maintained ChangeLog.

Would you consider adding an option to gitlog-to-changelog to support such a
format?

Thanks,
  Stefano


Reply via email to