On Mon, Jul 22, 2019 at 3:40 PM Pavel Sanda <sa...@lyx.org> wrote: > On Sun, Jul 14, 2019 at 11:28:28PM -0600, Joel Kulesza wrote: > > > 2. Can one add/save custom commands for fields? For example, I want > to > > insert an abbreviated git hash (e.g., `git rev-parse --short HEAD`). > If > > so, where can I enter this? Sorry if I missed the right spot in my > search. > > Alternatively I think we would still accept patch for 2.4 with a new custom > field containing short hash (named like "short revision" or similar). >
Would a developer please look at the patch attached to https://www.lyx.org/trac/ticket/11620 and provide feedback such that we can work toward incorporating this feature into the code base as soon as is reasonable? I have also attached screenshots showing how git- and SVN-based documents appear with the entry (which is valid for git and not for SVN or, AFAIK, other VCSs). Thank you, Joel