Opened 11 years ago

Closed 9 years ago

#10030 closed bug (fixed)

git fails to create its settings file without help

Reported by: stippi Owned by: nobody
Priority: normal Milestone: R1
Component: - General Version: R1/Package Management
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

This used to work, I am relatively sure:

/Code SSD/haiku/src/apps/haiku-depot> git config --global user.email "superstippi@gmx.de"
error: could not lock config file /boot/home/config/settings/git/config: No such file or directory

And it works as soon as one creates that "git" folder in settings. (I.e. git then creates the file "config" in that folder.) I am unable to say whether this is an issue with a newer port of git, or something got broken with PM.

Change History (4)

comment:1 by bonefish, 11 years ago

Summary: PM: For some reasons, git failes to create its settings file without helpgit fails to create its settings file without help

It's an issue with git port. The config file was formerly "$HOME/.gitconfig", so its parent directory always existed. Now it potentially has to create the parent directory, which isn't considered yet.

comment:2 by diver, 9 years ago

Is this still an issue?

comment:3 by waddlesplash, 9 years ago

Nope. It's been long since fixed.

comment:4 by diver, 9 years ago

Resolution: fixed
Status: newclosed

Thanks! Closing.

Note: See TracTickets for help on using tickets.