GNOME Bugzilla – Bug 566298
Giggle searches for remotes in the wrong directory
Last modified: 2012-04-01 22:23:15 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).
Created attachment 125636 [details] Exmaple .git
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.
Giggle 0.6.1 does not segfault on the given repo. Bug should be closed.
Thanks for the update Guilhèm. Closing