{"thread":{"id":"2093","subject":"Cogito RFE: cg-commit -q","startedAt":"2005-10-13T17:45:52Z","lastAt":"2005-10-21T22:06:29Z","messageCount":2,"participants":["H. Peter Anvin","Petr Baudis"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"10075","messageId":"434E9D50.2040807@zytor.com","threadId":"2093","inReplyTo":null,"subject":"Cogito RFE: cg-commit -q","fromName":"H. Peter Anvin","fromEmail":"hpa@zytor.com","sentAt":"2005-10-13T17:45:52Z","receivedAt":"2005-10-13T17:45:52Z","isPatch":false,"sender":{"key":"hpa@zytor.com","avatar":null},"body":"I would find it very useful if cg-commit had a \"-q\" option, meaning \n\"silently skip this commit if there is nothing to commit.\"  There are \nsome automatic release scripts that I have which enforces consistency \nbefore release, but if the repository is already correctly set up for \nrelease, there is nothing to do.\n\nThis is the opposite of -f, which would create a commit object pointing \nto the same tree.\n\n\t-hpa\n"},{"id":"10444","messageId":"20051021220629.GK30889@pasky.or.cz","threadId":"2093","inReplyTo":"434E9D50.2040807@zytor.com","subject":"Re: Cogito RFE: cg-commit -q","fromName":"Petr Baudis","fromEmail":"pasky@suse.cz","sentAt":"2005-10-21T22:06:29Z","receivedAt":"2005-10-21T22:06:29Z","isPatch":false,"sender":{"key":"pasky@ucw.cz","avatar":"https://avatars.githubusercontent.com/u/18439?v=4"},"body":"Dear diary, on Thu, Oct 13, 2005 at 07:45:52PM CEST, I got a letter\nwhere \"H. Peter Anvin\" <hpa@zytor.com> told me that...\n> I would find it very useful if cg-commit had a \"-q\" option, meaning \n> \"silently skip this commit if there is nothing to commit.\"  There are \n> some automatic release scripts that I have which enforces consistency \n> before release, but if the repository is already correctly set up for \n> release, there is nothing to do.\n> \n> This is the opposite of -f, which would create a commit object pointing \n> to the same tree.\n\nThanks for the idea, implemented.\n\n-- \n\t\t\t\tPetr \"Pasky\" Baudis\nStuff: http://pasky.or.cz/\nVI has two modes: the one in which it beeps and the one in which\nit doesn't.\n"}]}