{"thread":{"id":"34288","subject":"contrib/mw-to-git/Git/Mediawiki.pm","startedAt":"2013-06-27T16:00:09Z","lastAt":"2013-06-27T18:07:40Z","messageCount":7,"participants":["Torsten Bögershausen","Benoît Person","Matthieu Moy","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"222090","messageId":"51CC6189.6030701@web.de","threadId":"34288","inReplyTo":null,"subject":"contrib/mw-to-git/Git/Mediawiki.pm","fromName":"Torsten Bögershausen","fromEmail":"tboegi@web.de","sentAt":"2013-06-27T16:00:09Z","receivedAt":"2013-06-27T16:00:09Z","isPatch":false,"sender":{"key":"tboegi@web.de","avatar":"https://avatars.githubusercontent.com/u/7138363?v=4"},"body":"\nI just discovered a major problem for\nMac OS and Windows people:\n\nIn contrib/mw-to-git/ there is a file called \"git\".\nAnd there is a directory called \"Git\".\n\nThis does not work very well on case insensitive file systems.\nWhen the file \"git\" is created, we can not create a directory\ncalled \"Git\", as \"Git\" is mapped to \"git\".\nAnd vice versa.\n\nCan we try to rename one of them ?\n\n\nThe other interesting thing is that git 1.8.3 didn't like the\nsituation:\nAfter checking out the pu branch, \ngit status says:\ndeleted:    contrib/mw-to-git/Git/Mediawiki.pm\n\nSo I could not change to another branch/commit...\ngit stash didn't resolve the situation either.\n\nThe following saved my repo:\ngit mv contrib/mw-to-git/git contrib/mw-to-git/git.exe\ngit checkout contrib/mw-to-git/Git/Mediawiki.pm\ngit checkout -b xxx_git_Git_conflict\ngit commit -a -m xxx_git_Git_conflict\n\n/Torsten\n"},{"id":"222093","messageId":"CAETqRCgctnVqrYaAYn7uZtv0rvQNawUAi513iTeWPufkZPRgAw@mail.gmail.com","threadId":"34288","inReplyTo":"51CC6189.6030701@web.de","subject":"Re: contrib/mw-to-git/Git/Mediawiki.pm","fromName":"Benoît Person","fromEmail":"benoit.person@ensimag.fr","sentAt":"2013-06-27T16:25:38Z","receivedAt":"2013-06-27T16:25:38Z","isPatch":false,"sender":{"key":"benoit.person@ensimag.fr","avatar":null},"body":"Oops, so sorry :/\n\nIt's defintely doable since the lowercase 'git' is only a bin-wrapper\nfor git to ease development in contrib/mw-to-git/ .\n\nJunio, Matthieu : should I resend a new version of my serie which\nrenames the 'git' (lowercase) file into something like 'git-dev' ?\n(some comments directly mentionning the 'git' (lowercase) file needs\nto be updated as well in the Makefile)\n\nBenoit\n"},{"id":"222096","messageId":"vpq4ncjcxt4.fsf@anie.imag.fr","threadId":"34288","inReplyTo":"CAETqRCgctnVqrYaAYn7uZtv0rvQNawUAi513iTeWPufkZPRgAw@mail.gmail.com","subject":"Re: contrib/mw-to-git/Git/Mediawiki.pm","fromName":"Matthieu Moy","fromEmail":"matthieu.moy@grenoble-inp.fr","sentAt":"2013-06-27T16:39:51Z","receivedAt":"2013-06-27T16:39:51Z","isPatch":false,"sender":{"key":"matthieu.moy@grenoble-inp.fr","avatar":"https://gravatar.com/avatar/72c8a2705971a25dfaff23cece15130d405685845d911aedd5667ace277f3fc5?d=mp&s=160"},"body":"Benoît Person <benoit.person@ensimag.fr> writes:\n\n> Junio, Matthieu : should I resend a new version of my serie which\n> renames the 'git' (lowercase) file into something like 'git-dev' ?\n\nI'd call it bin-wrapper/git, so that people can put bin-wrapper/ in\ntheir $PATH if needed, and by analogy with ../../bin-wrapper. If you go\nthis way, don't forget to update the $0 relative paths.\n\ngit-dev is OK with me too.\n\n> (some comments directly mentionning the 'git' (lowercase) file needs\n> to be updated as well in the Makefile)\n\nYes.\n\n-- \nMatthieu Moy\nhttp://www-verimag.imag.fr/~moy/\n"},{"id":"222103","messageId":"7v4ncjtqdi.fsf@alter.siamese.dyndns.org","threadId":"34288","inReplyTo":"CAETqRCgctnVqrYaAYn7uZtv0rvQNawUAi513iTeWPufkZPRgAw@mail.gmail.com","subject":"Re: contrib/mw-to-git/Git/Mediawiki.pm","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2013-06-27T17:28:25Z","receivedAt":"2013-06-27T17:28:25Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Benoît Person <benoit.person@ensimag.fr> writes:\n\n> Oops, so sorry :/\n>\n> It's defintely doable since the lowercase 'git' is only a bin-wrapper\n> for git to ease development in contrib/mw-to-git/ .\n\nHmph.  Does it even need to be in-tree then?  Is it insufficient to\nrun ../../git from that directory instead?\n\n> Junio, Matthieu : should I resend a new version of my serie which\n> renames the 'git' (lowercase) file into something like 'git-dev' ?\n> (some comments directly mentionning the 'git' (lowercase) file needs\n> to be updated as well in the Makefile)\n>\n> Benoit\n"},{"id":"222104","messageId":"7vzjubsbqj.fsf@alter.siamese.dyndns.org","threadId":"34288","inReplyTo":"vpq4ncjcxt4.fsf@anie.imag.fr","subject":"Re: contrib/mw-to-git/Git/Mediawiki.pm","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2013-06-27T17:29:56Z","receivedAt":"2013-06-27T17:29:56Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Matthieu Moy <Matthieu.Moy@grenoble-inp.fr> writes:\n\n> Benoît Person <benoit.person@ensimag.fr> writes:\n>\n>> Junio, Matthieu : should I resend a new version of my serie which\n>> renames the 'git' (lowercase) file into something like 'git-dev' ?\n>\n> I'd call it bin-wrapper/git, so that people can put bin-wrapper/ in\n> their $PATH if needed, and by analogy with ../../bin-wrapper. If you go\n> this way, don't forget to update the $0 relative paths.\n>\n> git-dev is OK with me too.\n>\n>> (some comments directly mentionning the 'git' (lowercase) file needs\n>> to be updated as well in the Makefile)\n>\n> Yes.\n\nI just noticed that the script is not strictly a text file, ending\nwith an incomplete line, by the way.\n"},{"id":"222112","messageId":"CAETqRCif7K3MZiG4oMfnM-jps+KajDMYML4C5Hhy8eE7bj38xA@mail.gmail.com","threadId":"34288","inReplyTo":"7vzjubsbqj.fsf@alter.siamese.dyndns.org","subject":"Re: contrib/mw-to-git/Git/Mediawiki.pm","fromName":"Benoît Person","fromEmail":"benoit.person@ensimag.fr","sentAt":"2013-06-27T17:54:36Z","receivedAt":"2013-06-27T17:54:36Z","isPatch":false,"sender":{"key":"benoit.person@ensimag.fr","avatar":null},"body":"> Hmph.  Does it even need to be in-tree then?  Is it insufficient to\n> run ../../git from that directory instead?\nWell, the fact is we use Perl packages now (Git.pm and\nGit::Mediawiki.pm in contrib/mw-to-git/Git/). The way we build perl\nscripts in the toplevel's Makefile makes those packages accessible\nonly in $GITPERLLIB if it's defined and defaults to $INSTLIBDIR to\nseek for installed version of those packages.\n\nWe use a bin-wrapper to define that $GITPERLLIB variable so that the\ninstalled version gets bypassed by the one presents in the directory\ndefined in $GITPERLLIB.\n\n> I just noticed that the script is not strictly a text file, ending\n> with an incomplete line, by the way.\nan incomplete line ?\n"},{"id":"222116","messageId":"7vip0zs9zn.fsf@alter.siamese.dyndns.org","threadId":"34288","inReplyTo":"CAETqRCif7K3MZiG4oMfnM-jps+KajDMYML4C5Hhy8eE7bj38xA@mail.gmail.com","subject":"Re: contrib/mw-to-git/Git/Mediawiki.pm","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2013-06-27T18:07:40Z","receivedAt":"2013-06-27T18:07:40Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Benoît Person <benoit.person@ensimag.fr> writes:\n\n>> I just noticed that the script is not strictly a text file, ending\n>> with an incomplete line, by the way.\n> an incomplete line ?\n\nhttp://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap03.html#tag_03_194\n"}]}