Am 14.01.2018 um 11:44 schrieb Andrew Bernard:
Hi Ben,

I think the desire to add git version information to files is a hangover from earlier days when people used to do this with SCCS, CVS, RCS, and all those antique systems. With git, due to its model, that's not so commonly done nowadays.

If you want to manage your files by the complex git hash numbers, then why not check in the output to the commit as well? Then you can simply add tags to make it more humanly readable. You could add the tag name to the file name if you really so desired. Seems simpler that what you are asking to do.

I know this is not the answer you are looking for, but may be a way to go?

Generally it's straightforward to have LilyPond run Git during compilation and add any log output to the filename or the tagline. (As is already wrapped by my command linked to in the previous comment.

One thing to consider is that more often than not scores will be compiled with uncommitted changes being present, so the git committish may actually be misleading. (I have added several commands to handle that too).

Urs



Andrew



_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to