Re: issues(?) installing git-lfs via fedora "dnf" command
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- May 21, 2018, 17:03 UTC
- Message-ID
- <20180521170353.GA10623@aiede.svl.corp.google.com>
- In-Reply-To
- <alpine.LFD.2.21.1805210625410.6679@localhost.localdomain>
Robert P. J. Day wrote:
> $ sudo dnf install git-lfs
[...]
Show 6 quoted lines
> Running transaction > Preparing : > Installing : git-lfs-2.4.0-1.fc28.x86_64 > Running scriptlet: git-lfs-2.4.0-1.fc28.x86_64 > Error: Failed to call git rev-parse --git-dir --show-toplevel: "fatal: > not a git repository (or any of the parent directories): .git\n"
[...]
Show 5 quoted lines
> is one supposed to be *in* a git repository when installing, because i > was in fact at the top level of my linux kernel source repo, so i'm > unclear on what that "Error" is trying to tell me. am i just being > clueless? is this something that i should submit as a fedora packaging > issue?
Yes, this looks like something that should be reported as a Fedora packaging issue.
The packager should be able to find out whether it's an issue in git-lfs upstream and report it to that project if it is. Git-lfs is not part of git.git; it's a separate project: https://github.com/git-lfs/git-lfs/blob/master/CONTRIBUTING.md I believe they use github's issue tracker to track bugs.
Thanks, Jonathan