git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

Previous: Robert P. J. DayNext: Robert P. J. Day
Message 2 of 5 in “issues(?) installing git-lfs via fedora "dnf" command”
  1. Robert P. J. DayMay 21, 2018
  2. Jonathan NiederMay 21, 2018
  3. Robert P. J. DayMay 21, 2018
  4. Jonathan NiederMay 21, 2018
  5. Robert P. J. DayMay 21, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.