tummychow / git-absorb

git commit --fixup, but automatic
https://crates.io/crates/git-absorb
BSD 3-Clause "New" or "Revised" License
3.33k stars 60 forks source link

man page contains wrong version number #74

Open imphil opened 1 year ago

imphil commented 1 year ago

The man page of git absorb (v0.6.9 as available from GitHub releases for x86) says it's version 0.5.0 from 2019: https://github.com/tummychow/git-absorb/blob/764f4776f2edaea65f7b683ea0f0e96d9711fa67/Documentation/git-absorb.1#L10

I guess there's some automation missing to update the docs with the correct version number when doing a release?

tummychow commented 1 year ago

tsk, i don't use asciidoc myself so it's rather inconvenient for me to bump and regenerate that every time. and i'm sure as hell not editing groff by hand. i'll see if there's an easy way to fix this

tummychow commented 1 year ago

(for the record, there haven't been any interface changes since the man page was written, so it's not actually out of date, it's just annoying that groff expects every manpage to have the version and date in the footer)

iwittkau commented 2 months ago

I just noticed that

  -F, --one-fixup-per-commit               Only generate one fixup per commi

is missing from the outdated man page help which is also used when executinggit help absorb.

tummychow commented 2 months ago

ugh that's because i've been forgetting to ask people to update it when they add new features. i also don't use adoc personally (and frankly i suspect most contributors don't) so we should probably regenerate the groff in a github action and attach it to a release object. more housekeeping...