{"thread":{"id":"36643","subject":"[BUG] git-gui regression in 2.0rcX within submodule","startedAt":"2014-05-12T23:45:19Z","lastAt":"2014-05-13T21:14:43Z","messageCount":3,"participants":["Yann Dirson","Chris Packham","Jens Lehmann"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"241329","messageId":"20140512234518.GB5529@home.lan","threadId":"36643","inReplyTo":null,"subject":"[BUG] git-gui regression in 2.0rcX within submodule","fromName":"Yann Dirson","fromEmail":"ydirson@free.fr","sentAt":"2014-05-12T23:45:19Z","receivedAt":"2014-05-12T23:45:19Z","isPatch":false,"sender":{"key":"ydirson@free.fr","avatar":null},"body":"In 2.0rc2, git-gui is unable to work inside submodules, where 1.9.2\ndid not show such a problem:\n\n\nyann@home:~$ cd /tmp/\nyann@home:tmp$ mkdir foo\nyann@home:tmp$ cd foo/\nyann@home:foo$ git init\nInitialized empty Git repository in /tmp/foo/.git/\nyann@home:foo (master)$ git submodule add git://git.debian.org/git/collab-maint/tulip.git debian\nCloning into 'debian'...\nremote: Counting objects: 317, done.\nremote: Compressing objects: 100% (199/199), done.\nremote: Total 317 (delta 184), reused 166 (delta 95)\nReceiving objects: 100% (317/317), 73.81 KiB | 0 bytes/s, done.\nResolving deltas: 100% (184/184), done.\nChecking connectivity... done.\nyann@home:foo (master)$ git status \nOn branch master\n\nInitial commit\n\nChanges to be committed:\n  (use \"git rm --cached <file>...\" to unstage)\n\n        new file:   .gitmodules\n        new file:   debian\n\nyann@home:foo (master)$ (cd debian/ && git gui)\n[errors out after showing the following error dialog]\n\n| No working directory ../../../debian:\n| \n| couldn't change working directory\n| to \"../../../debian\": no such file or\n| directory\n\n\nstrace shows the failing chdir call is from git-gui itself, after\ngetcwd() told him that it is in the dir that is indeed the workdir\nalready.\n"},{"id":"241341","messageId":"5371D840.2020208@gmail.com","threadId":"36643","inReplyTo":"20140512234518.GB5529@home.lan","subject":"Re: [BUG] git-gui regression in 2.0rcX within submodule","fromName":"Chris Packham","fromEmail":"judge.packham@gmail.com","sentAt":"2014-05-13T08:30:56Z","receivedAt":"2014-05-13T08:30:56Z","isPatch":false,"sender":{"key":"judge.packham@gmail.com","avatar":"https://avatars.githubusercontent.com/u/155667?v=4"},"body":"Hi,\n\nOn 13/05/14 11:45, Yann Dirson wrote:\n> In 2.0rc2, git-gui is unable to work inside submodules, where 1.9.2\n> did not show such a problem:\n> \n> \n> yann@home:~$ cd /tmp/\n> yann@home:tmp$ mkdir foo\n> yann@home:tmp$ cd foo/\n> yann@home:foo$ git init\n> Initialized empty Git repository in /tmp/foo/.git/\n> yann@home:foo (master)$ git submodule add git://git.debian.org/git/collab-maint/tulip.git debian\n> Cloning into 'debian'...\n> remote: Counting objects: 317, done.\n> remote: Compressing objects: 100% (199/199), done.\n> remote: Total 317 (delta 184), reused 166 (delta 95)\n> Receiving objects: 100% (317/317), 73.81 KiB | 0 bytes/s, done.\n> Resolving deltas: 100% (184/184), done.\n> Checking connectivity... done.\n> yann@home:foo (master)$ git status \n> On branch master\n> \n> Initial commit\n> \n> Changes to be committed:\n>   (use \"git rm --cached <file>...\" to unstage)\n> \n>         new file:   .gitmodules\n>         new file:   debian\n> \n> yann@home:foo (master)$ (cd debian/ && git gui)\n> [errors out after showing the following error dialog]\n> \n> | No working directory ../../../debian:\n> | \n> | couldn't change working directory\n> | to \"../../../debian\": no such file or\n> | directory\n> \n\nI've already reported the same issue[1] and have posted a possible\nsolution[2] although I haven't seen any feedback from Pat or anyone else.\n\n> \n> strace shows the failing chdir call is from git-gui itself, after\n> getcwd() told him that it is in the dir that is indeed the workdir\n> already.\n> \n\n--\n\n[1] - http://article.gmane.org/gmane.comp.version-control.git/247511\n[2] - http://article.gmane.org/gmane.comp.version-control.git/247564\n"},{"id":"241442","messageId":"53728B43.3000608@web.de","threadId":"36643","inReplyTo":"5371D840.2020208@gmail.com","subject":"Re: [BUG] git-gui regression in 2.0rcX within submodule","fromName":"Jens Lehmann","fromEmail":"jens.lehmann@web.de","sentAt":"2014-05-13T21:14:43Z","receivedAt":"2014-05-13T21:14:43Z","isPatch":false,"sender":{"key":"jens.lehmann@web.de","avatar":"https://avatars.githubusercontent.com/u/135220?v=4"},"body":"Thanks for the reminder, I'm currently looking into that.\n\nAm 13.05.2014 10:30, schrieb Chris Packham:\n> Hi,\n> \n> On 13/05/14 11:45, Yann Dirson wrote:\n>> In 2.0rc2, git-gui is unable to work inside submodules, where 1.9.2\n>> did not show such a problem:\n>>\n>>\n>> yann@home:~$ cd /tmp/\n>> yann@home:tmp$ mkdir foo\n>> yann@home:tmp$ cd foo/\n>> yann@home:foo$ git init\n>> Initialized empty Git repository in /tmp/foo/.git/\n>> yann@home:foo (master)$ git submodule add git://git.debian.org/git/collab-maint/tulip.git debian\n>> Cloning into 'debian'...\n>> remote: Counting objects: 317, done.\n>> remote: Compressing objects: 100% (199/199), done.\n>> remote: Total 317 (delta 184), reused 166 (delta 95)\n>> Receiving objects: 100% (317/317), 73.81 KiB | 0 bytes/s, done.\n>> Resolving deltas: 100% (184/184), done.\n>> Checking connectivity... done.\n>> yann@home:foo (master)$ git status \n>> On branch master\n>>\n>> Initial commit\n>>\n>> Changes to be committed:\n>>   (use \"git rm --cached <file>...\" to unstage)\n>>\n>>         new file:   .gitmodules\n>>         new file:   debian\n>>\n>> yann@home:foo (master)$ (cd debian/ && git gui)\n>> [errors out after showing the following error dialog]\n>>\n>> | No working directory ../../../debian:\n>> | \n>> | couldn't change working directory\n>> | to \"../../../debian\": no such file or\n>> | directory\n>>\n> \n> I've already reported the same issue[1] and have posted a possible\n> solution[2] although I haven't seen any feedback from Pat or anyone else.\n> \n>>\n>> strace shows the failing chdir call is from git-gui itself, after\n>> getcwd() told him that it is in the dir that is indeed the workdir\n>> already.\n>>\n> \n> --\n> \n> [1] - http://article.gmane.org/gmane.comp.version-control.git/247511\n> [2] - http://article.gmane.org/gmane.comp.version-control.git/247564\n> \n> --\n> To unsubscribe from this list: send the line \"unsubscribe git\" in\n> the body of a message to majordomo@vger.kernel.org\n> More majordomo info at  http://vger.kernel.org/majordomo-info.html\n> \n"}]}