{"thread":{"id":"3418","subject":"PATCH: fix git-fmt-merge-msg on ActiveState Perl","startedAt":"2006-02-21T15:45:47Z","lastAt":"2006-02-21T22:18:01Z","messageCount":3,"participants":["Alex Riesen"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"16503","messageId":"81b0412b0602210745i637692d3p5462c2b3a00df793@mail.gmail.com","threadId":"3418","inReplyTo":null,"subject":"PATCH: fix git-fmt-merge-msg on ActiveState Perl","fromName":"Alex Riesen","fromEmail":"raa.lkml@gmail.com","sentAt":"2006-02-21T15:45:47Z","receivedAt":"2006-02-21T15:45:47Z","isPatch":false,"sender":{"key":"raa.lkml@gmail.com","avatar":"https://avatars.githubusercontent.com/u/324101?v=4"},"body":"For people who stuck with ActiveState Perl, as there seem to be\nno chance for it to support the list form of \"open\" in foreseeable future.\n\nWorking it around again.\nShould be harmless, as there are only sha1s passed\n\n---\n@#$%^&* windows!!!\n\n\n>From nobody Mon Sep 17 00:00:00 2001\nFrom: Alex Riesen <raa.lkml@gmail.com>\nDate: Tue Feb 21 15:53:39 2006 +0100\nSubject: fix git-fmt-merge-msg on activestate perl\n\n---\n\n git-fmt-merge-msg.perl |    7 +++----\n 1 files changed, 3 insertions(+), 4 deletions(-)\n\n65ca8f2e90b9816c1748847fc406d26a56b7ad2d\ndiff --git a/git-fmt-merge-msg.perl b/git-fmt-merge-msg.perl\nindex 9071312..f4ecd13 100755\n--- a/git-fmt-merge-msg.perl\n+++ b/git-fmt-merge-msg.perl\n@@ -33,7 +33,7 @@ sub repoconfig {\n \tmy $fh;\n \tmy $val;\n \teval {\n-\t\topen $fh, '-|', 'git-repo-config', '--get', 'merge.summary'\n+\t\topen($fh, 'git-repo-config --get  merge.summary |')\n \t\t    or die \"$!\";\n \t\t($val) = <$fh>;\n \t\tclose $fh;\n@@ -43,7 +43,7 @@ sub repoconfig {\n \n sub current_branch {\n \tmy $fh;\n-\topen $fh, '-|', 'git-symbolic-ref', 'HEAD' or die \"$!\";\n+\topen($fh, 'git-symbolic-ref HEAD |') or die \"$!\";\n \tmy ($bra) = <$fh>;\n \tchomp($bra);\n \t$bra =~ s|^refs/heads/||;\n@@ -59,8 +59,7 @@ sub current_branch {\n sub shortlog {\n \tmy ($tip) = @_;\n \tmy ($fh, @result);\n-\topen $fh, '-|', ('git-log', '--topo-order',\n-\t\t\t '--pretty=oneline', $tip, '^HEAD')\n+\topen($fh, \"git-log --topo-order --pretty=oneline $tip ^HEAD |\")\n \t    or die \"$!\";\n \twhile (<$fh>) {\n \t\ts/^[0-9a-f]{40}\\s+//;\n-- \n1.2.2.g65ca8\n\n\n\n\n\n\n\n\n"},{"id":"16504","messageId":"81b0412b0602210748t76d02007s316081a04ee685c8@mail.gmail.com","threadId":"3418","inReplyTo":"81b0412b0602210745i637692d3p5462c2b3a00df793@mail.gmail.com","subject":"Re: PATCH: fix git-fmt-merge-msg on ActiveState Perl","fromName":"Alex Riesen","fromEmail":"raa.lkml@gmail.com","sentAt":"2006-02-21T15:48:43Z","receivedAt":"2006-02-21T15:48:43Z","isPatch":false,"sender":{"key":"raa.lkml@gmail.com","avatar":"https://avatars.githubusercontent.com/u/324101?v=4"},"body":"On 2/21/06, Alex Riesen <raa.lkml@gmail.com> wrote:\n> For people who stuck with ActiveState Perl, as there seem to be\n> no chance for it to support the list form of \"open\" in foreseeable future.\n\nToo late... Sorry :)\n"},{"id":"16534","messageId":"20060221221801.GC5948@steel.home","threadId":"3418","inReplyTo":"81b0412b0602210748t76d02007s316081a04ee685c8@mail.gmail.com","subject":"Re: PATCH: fix git-fmt-merge-msg on ActiveState Perl","fromName":"Alex Riesen","fromEmail":"raa.lkml@gmail.com","sentAt":"2006-02-21T22:18:01Z","receivedAt":"2006-02-21T22:18:01Z","isPatch":false,"sender":{"key":"raa.lkml@gmail.com","avatar":"https://avatars.githubusercontent.com/u/324101?v=4"},"body":"Alex Riesen, Tue, Feb 21, 2006 16:48:43 +0100:\n> On 2/21/06, Alex Riesen <raa.lkml@gmail.com> wrote:\n> > For people who stuck with ActiveState Perl, as there seem to be\n> > no chance for it to support the list form of \"open\" in foreseeable future.\n> \n> Too late... Sorry :)\n\nNot too late, actually. It'll work for everyone with ActiveState Perl\n"}]}