From: Alex Riesen Date: Sun, 10 Dec 2006 14:54:44 GMT Subject: Re: [RFC \ WISH] Add -o option to git-rev-list Message-ID: <20061210145444.GB4836@steel.home> In-Reply-To: Marco Costalba, Sun, Dec 10, 2006 12:38:42 +0100: > So my request is if it is possible to make git-rev-list write > _directly_ to a file, without shell redirection, I would ask if it is > possible: Well, it is usually possible to redirect stdout directly into a file (see dup2). "Usually", unless you want windows which as always has it's own stupid way of doing simple things. Nevertheless, it's possible to do it without ever touching rev-list. > I understand this could be not exactly a top priority feature for git > people, but I would really like to get the best possible interface > with the plumbing git and the -o options is also a very common one. Sadly, you're right. Almost every command-line program got the option. What education could have caused this, I wonder... > P.S: On another thread I explained why I see problematic linking > directly against libgit.a It still is the fastest you can get.