{"thread":{"id":"4445","subject":"Failed git commands and StGIT","startedAt":"2006-06-09T18:36:23Z","lastAt":"2006-06-09T21:25:29Z","messageCount":3,"participants":["Petr Baudis","Catalin Marinas"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"21478","messageId":"20060609183623.GJ11941@pasky.or.cz","threadId":"4445","inReplyTo":null,"subject":"Failed git commands and StGIT","fromName":"Petr Baudis","fromEmail":"pasky@suse.cz","sentAt":"2006-06-09T18:36:23Z","receivedAt":"2006-06-09T18:36:23Z","isPatch":false,"sender":{"key":"pasky@ucw.cz","avatar":"https://avatars.githubusercontent.com/u/18439?v=4"},"body":"  Hi,\n\n  a user at #git just came with a problem with stg refresh - it turned\nout that he did not have his environment set up properly, but what is\ntroublesome that stg refresh just said that \"git-commit-tree failed\" and\ndid not show the actual error message - looking at the code, you\nprobably want to keep fd 3 on the parent process' stderr, that is use\nopen2, not open3.\n\n  The user has used StGIT 0.9.\n\n  Thanks,\n\n-- \n\t\t\t\tPetr \"Pasky\" Baudis\nStuff: http://pasky.or.cz/\nA person is just about as big as the things that make them angry.\n"},{"id":"21500","messageId":"b0943d9e0606091405o79002a79id02e8fdd3936a345@mail.gmail.com","threadId":"4445","inReplyTo":"20060609183623.GJ11941@pasky.or.cz","subject":"Re: Failed git commands and StGIT","fromName":"Catalin Marinas","fromEmail":"catalin.marinas@gmail.com","sentAt":"2006-06-09T21:05:47Z","receivedAt":"2006-06-09T21:05:47Z","isPatch":false,"sender":{"key":"catalin.marinas@gmail.com","avatar":null},"body":"On 09/06/06, Petr Baudis <pasky@suse.cz> wrote:\n>   a user at #git just came with a problem with stg refresh - it turned\n> out that he did not have his environment set up properly, but what is\n> troublesome that stg refresh just said that \"git-commit-tree failed\" and\n> did not show the actual error message - looking at the code, you\n> probably want to keep fd 3 on the parent process' stderr, that is use\n> open2, not open3.\n\nI also found this annoying but I was too lazy to fix it. To not\ncapture the stderr is easy (just change pass false as the 2nd argument\nto popen2.Popen3) but there is a duplicate of error messages from both\nGIT and StGIT. The other option is to add a '--verbose' option to most\nof the commands. I'll have a look at it this weekend.\n\nThanks.\n\n-- \nCatalin\n"},{"id":"21503","messageId":"20060609212529.GL11941@pasky.or.cz","threadId":"4445","inReplyTo":"b0943d9e0606091405o79002a79id02e8fdd3936a345@mail.gmail.com","subject":"Re: Failed git commands and StGIT","fromName":"Petr Baudis","fromEmail":"pasky@ucw.cz","sentAt":"2006-06-09T21:25:29Z","receivedAt":"2006-06-09T21:25:29Z","isPatch":false,"sender":{"key":"pasky@ucw.cz","avatar":"https://avatars.githubusercontent.com/u/18439?v=4"},"body":"Dear diary, on Fri, Jun 09, 2006 at 11:05:47PM CEST, I got a letter\nwhere Catalin Marinas <catalin.marinas@gmail.com> said that...\n> I also found this annoying but I was too lazy to fix it. To not\n> capture the stderr is easy (just change pass false as the 2nd argument\n> to popen2.Popen3) but there is a duplicate of error messages from both\n> GIT and StGIT. The other option is to add a '--verbose' option to most\n> of the commands. I'll have a look at it this weekend.\n\n  I don't think this is actually an issue. I'd actually prefer the\nbehaviour of NOT having to add a '--verbose' option to a stgit command\nto see the full error output.\n\n-- \n\t\t\t\tPetr \"Pasky\" Baudis\nStuff: http://pasky.or.cz/\nA person is just about as big as the things that make them angry.\n"}]}