After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 566298 - Giggle searches for remotes in the wrong directory
Giggle searches for remotes in the wrong directory
Status: RESOLVED FIXED
Product: giggle
Classification: Other
Component: UI: General
HEAD
Other Mac OS
: Normal normal
: 0.5
Assigned To: Mathias Hasselmann (IRC: tbf)
Depends on:
Blocks: 566297
 
 
Reported: 2009-01-02 13:57 UTC by Mikael Hallendal
Modified: 2012-04-01 22:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Exmaple .git (10.39 KB, application/x-bzip2)
2009-01-02 13:57 UTC, Mikael Hallendal
Details

Description Mikael Hallendal 2009-01-02 13:57:16 UTC
Migrated from GGL-63

Reported by Łukasz Jernaś

When running giggle with git-1.5.1 it reports:
(giggle:7947): WARNING **: Error loading remotes: Error opening directory '/home/users/deejay1/PRACA/IMENDIO/giggle/.git/remotes': No such file or directory and doesn't display remotes added via git remote add foo git://foo/foo.git.git directory attached

Comment by Łukasz Jernaś:
Maybe one could use the output from git-repo-config --list to add the remotes instead of scanning and reading various files? Some example output from running that command:
remote.carlos.url=git://git.imendio.com/carlos/giggle.git
remote.carlos.fetch=+refs/heads/:refs/remotes/carlos/
branch.carlos.remote=git://git.imendio.com/carlos/giggle.git
branch.carlos.merge=+refs/heads/*:refs/remotes/carlos/

Comment by Guilhèm Bonnefille:
I had a look into "remote branch" handling. I think the most difficult is that feature change from Git1.4 to Git1.5. And this probably need a completly rewrite of this part (I'm not sure the current "model" in giggle can host the new remote branch model in Git).
Comment 1 Mikael Hallendal 2009-01-02 13:57:46 UTC
Created attachment 125636 [details]
Exmaple .git
Comment 2 Mathias Hasselmann (IRC: tbf) 2009-01-04 20:52:02 UTC
Should be fixed:

commit da33c0608df7130308c3422d425e064345964106
Author: Mathias Hasselmann <mathias@taschenorakel.de>
Date:   Sat Aug 30 23:30:48 2008 +0200

    Use the more recent 'git remote' command for resolving remote branches

But giggle segfaults for me with that example repository. Have to check what's going on.
Comment 3 Guilhèm Bonnefille 2012-04-01 08:27:22 UTC
Giggle 0.6.1 does not segfault on the given repo.

Bug should be closed.
Comment 4 Javier Jardón (IRC: jjardon) 2012-04-01 22:23:15 UTC
Thanks for the update Guilhèm. Closing