FS#60183 - [git-lfs] help/--help commands are not functioning

Attached to Project: Community Packages
Opened by Chris G (epitron) - Monday, 24 September 2018, 20:27 GMT
Last edited by Morten Linderud (Foxboron) - Wednesday, 03 October 2018, 11:07 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Morten Linderud (Foxboron)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Arch's packaged version of `git-lfs` appears to be missing internal documentation for its help/--help command/option. (The official binaries on github don't have this issue.)

The error message is: 'Sorry, no usage text found for "git-lfs"'

The only cases where the documentation is available are when `git-lfs` opens a manpage. For example:

Primary command:

git-lfs help => fails
git-lfs --help => fails
git lfs help => fails
git help lfs => *works*
git lfs --help => *works*

Subcommands:

git-lfs ls-files --help => fails
git-lfs help ls-files => fails
git lfs ls-files --help => fails
git lfs help ls-files fails
man git-lfs-ls-files works
This task depends upon

Closed by  Morten Linderud (Foxboron)
Wednesday, 03 October 2018, 11:07 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed with 2.5.2-2
Comment by Chris G (epitron) - Monday, 24 September 2018, 21:16 GMT
The git-lfs team helped track this down -- apparently the debian package had the same issue back in June. You need to run "go generate ./commands" before building.

I've attached a diff which fixes the PKGBUILD for me.

Loading...