Bug 1639866 - fatal error message while installing package, but inits itself
Summary: fatal error message while installing package, but inits itself
Keywords:
Status: CLOSED DUPLICATE of bug 1591122
Alias: None
Product: Fedora
Classification: Fedora
Component: git-lfs
Version: 27
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Elliott Sales de Andrade
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-10-16 18:56 UTC by customercare
Modified: 2018-10-16 19:04 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-10-16 19:04:24 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description customercare 2018-10-16 18:56:34 UTC
Description of problem:

When there is no .git directory or another hint, that a repo exists, we get an error message, but it says, it has initialized itself.

Either "we have an fatal error" or "we initialize us correctly" but not both at the same time :)

I suggest to just report an error, if a really important error happend and add some checks if that tool should be called
at all while initilizing the rpm. 

Version: git-lfs-2.4.2-1.fc27.x86_64.rpm

Output of "dnf install git-lfs" :

Ist dies in Ordnung? [j/N]:y
Pakete werden heruntergeladen:
git-lfs-2.4.2-1.fc27.x86_64.rpm                                                         3.0 MB/s | 2.7 MB     00:00    
------------------------------------------------------------------------------------------------------------------------
Gesamt                                                                                  1.4 MB/s | 2.7 MB     00:01     
Transaktionsüberprüfung wird ausgeführt
Transaktionsprüfung war erfolgreich.
Transaktion wird getestet
Transaktionstest war erfolgreich.
Transaktion wird ausgeführt
  Vorbereitung läuft    :                                                                                           1/1 
  Installieren          : git-lfs-2.4.2-1.fc27.x86_64                                                               1/1 
  Ausgeführtes Scriptlet: git-lfs-2.4.2-1.fc27.x86_64                                                               1/1 
Error: Failed to call git rev-parse --git-dir --show-toplevel: "fatal: Kein Git-Repository (oder irgendein Elternverzeichnis): .git\n"
Git LFS initialized.
Running as unit: run-rb4c8dff3e6ec4b65a1df7d1bbe1a7876.service
  Überprüfung läuft     : git-lfs-2.4.2-1.fc27.x86_64                                                               1/1 

Installiert:
  git-lfs.x86_64 2.4.2-1.fc27                                                                                           

Fertig.

Comment 1 Carl George 🤠 2018-10-16 19:04:24 UTC

*** This bug has been marked as a duplicate of bug 1591122 ***


Note You need to log in before you can comment on or make changes to this bug.