Re: Version string with git(1) (-dirty)

2024-02-23 Thread Colin Watson
On Fri, Feb 23, 2024 at 03:25:05PM +0100, Alejandro Colomar wrote: > On Fri, Feb 23, 2024 at 03:20:58PM +0100, Alejandro Colomar wrote: > > So, how do you get that "-dirty" suffix? Is it autotools? Or git? Or > > is it specific to the groff build system? I could use some shell code > > in the m

Re: Version string with git(1) (-dirty)

2024-02-23 Thread Alejandro Colomar
On Fri, Feb 23, 2024 at 03:20:58PM +0100, Alejandro Colomar wrote: > Hi Branden, > > I notice that when I build groff(1) from source, it gets its version > from git(1), and if the repository is dirty (has modifications on top of > the last commit), the version string has a "-dirty" suffix. > > I