]> git.donarmstrong.com Git - lilypond.git/commit
Clean up lilypond-book snippet formatting and file name hashing
authorJohn Mandereau <john.mandereau@gmail.com>
Thu, 24 Dec 2009 00:34:34 +0000 (01:34 +0100)
committerJohn Mandereau <john.mandereau@gmail.com>
Sat, 26 Dec 2009 01:36:08 +0000 (02:36 +0100)
commitd8a7eb6f3c224acc70abfec92296095b369a5497
tree053f8d1ae266a9ab1167fe0b099ecad4216b4537
parent638959a429edecd277c1f4217971d42ee1b523c5
Clean up lilypond-book snippet formatting and file name hashing

process_snippets(): eliminate duplicates in snippet lists written in
snippet-names-*.ly, which fixes issue #867.

LilyPondSnippet.get_checksum(): reintroduce in hashing fragment
options that matter for processing by lilypond, which had be neglected
since commit 4c5a581ca25398669b9ecbc7a606febb09e60214.

LilyPondSnippet.basename(): remove duplicated truncation of hash hex
value.

Ly snippet formatting: sort fragment options for more predictable and
repetable output, and don't write fragment options that don't have an
impact of lilypond processing.

Fix a few other nitpicks (e.g. comments).
scripts/lilypond-book.py